Click to See Complete Forum and Search --> : Formatting Script and XML File


robish518
08-06-2009, 01:41 PM
Is there a way to format XML so that a script will write a file like this:


<product>
<category name="category 1">
<model name="Item 1"/>
</series>
</product>



instead of like this:
<product><category name="category 1"><item name="Item 1"/></series></product>


It drives me nuts when I open an XML file and there's a long set of data with no line breaks or indenting.

Charles
08-06-2009, 07:52 PM
That's going to be specific to the XSL processor that you are using. Check your documentation.