This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 183658 - [69cat] XML: Resultant file from XSL transformation isn't formatted
Summary: [69cat] XML: Resultant file from XSL transformation isn't formatted
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: XSL (show other bugs)
Version: 7.0.1
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Sergey Lunegov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-07 15:39 UTC by gliesian
Modified: 2011-11-04 18:17 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gliesian 2010-04-07 15:39:10 UTC
The resultant output file from an XSL transformation isn't formatted.

A quick format (e.g., Alt+Shift+F) will do the trick.... but would there be value-added for the formatting to be done by default?

Or... is there a common requirement for users to produce the desired transformation without it being formatted.

For my need, default formatting would have been nice.

Thanks.
Comment 1 gliesian 2010-04-14 12:53:38 UTC
From: http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JAXPXSLT6.html:

Note: When you specify XML output, you can add the indent attribute to produce nicely indented XML output. The specification looks like this:
  <xsl:output method="xml" indent="yes"/>. 

This is another way to format... outside of the NetBeans formatting feature... wondering if this could be integrated into the wizard/template.
Comment 2 gliesian 2010-04-20 17:09:38 UTC
This enhancement request may be illogical and/or non-feasible.

This issue should be marked as incomplete until further analysis can be done...

I'll try to offer more info when I have time to look at it.

Thanks.