Hi,
Whenever I run NXSLT2 with the -mo option, the resultant XML output is rendered on a single line as opposed to the indented output when run without that option. Is there a particular reason for this, and if so, would it be possible to include an option to "pretty print" the output. I am running:
.NET 2.0 XSLT command line utility, version 2.0.1(c) 2004-2005 Oleg Tkachenko, http://www.xmllab.netRunning under .NET 2.0.50727.42
Thanks,
Daren
Yes, that's known limitation. Happily in .NET 2.0 it's finally become possible to overcome it. I fixed this and will release fixed version once I finish with other bug reports.
In the meantime you can either checkout sources from CVS repository or use the following trick:
nxslt2 source.xml style.xslt -mo | nxslt2 - -pp -xi
Thanks for reporting this!