This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes XSLT transformer formatting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XSLT transformer formatting" Watch "XSLT transformer formatting" New topic
Author

XSLT transformer formatting

lajos kamocsay
Ranch Hand

Joined: Aug 12, 2006
Posts: 37
Hello,

I'm using an XSLT transformer to output my XML data on System.out.
Everything is printed on one line, no new lines.

Is it possible to configure the transformer to print pretty (new lines, maybe even indented)?

Thanks,
Lajos

Here's what I have now:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XSLT transformer formatting
 
Similar Threads
Convert SOAP response to SOAP XmL string using JAX WS
Writing XML File via Java Program
Special Characters in XML
redirect XML/DOM output to file??
xml output formatting