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

Summary: [69cat] XML: Resultant file from XSL transformation isn't formatted
Product: xml Reporter: gliesian <gliesian>
Component: XSLAssignee: Sergey Lunegov <slunegov>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.0.1   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

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.