File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XSLT transformer formatting" Watch "XSLT transformer formatting" New topic

XSLT transformer formatting

lajos kamocsay
Ranch Hand

Joined: Aug 12, 2006
Posts: 37

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)?


Here's what I have now:
I agree. Here's the link:
subject: XSLT transformer formatting
It's not a secret anymore!