Subject:Formatting problems through command-line Author:Simon Templar Date:06 Sep 2005 07:11 AM
I am currently applying XSLT and validating XML file via command line (batch script). Then I need to transfer the file to mainframe with the formatting and indentations still intact. But I can't do that without first opening the file in Stylus Studio IDE and then using the Indent XML Tags option and then transferring them to mainframe, in which case the file looks fine. After the command-line process when I open the file in Stylus Studio IDE, it is not indented and therefor I can't get a well-structured(indented) file. I do not have the option of opening the IDE as this is going to be an automated process running on a server. I have following questions:
1. How can I use that Indent XML Tags option on command-line to get the correct indentations?
2. Is there any other way or option to be used at command-line to get the above result?
Subject:Formatting problems through command-line Author:Simon Templar Date:06 Sep 2005 11:28 AM
>If you add the indent option
>to your xsl:output element, as
>you should get properly
>indented output from your XSLT
>and not have to use the IDE to
Many thanks Tony, that did the trick. There's so much to explore in SS and so little time at hand!