If you are on linux you can use xml_pp - it has a few different styles you
can use and is v fast and easy to do   e.g. xml_pp -s nice  doc.xml

rgds
Symeon.

On 15/06/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>
>    Absolutely!  By using a stylesheet you can pretty-print your XML in U2
>    (see  the  UniBasic  XDOMTransform() function - & Google `pretty-print
>    xml' and you will get a plethora of hints on how to do this).
>
>    ______________________________________________________________________
>
>    Does Universe have a software tool to format a XML
>    string so that is nicely indented ? Ei from:
>    < ?xml version="1.0" encoding="utf-8"
>    ?>< Foo>< Foobar>XXX< /Foobar>< /Foo
>    To:
>    < ?xml version="1.0" encoding="utf-8" ?>
>    < Foo>
>    < Foobar>XXX< /Foobar>
>    < /Foo>
>
>    **********************************************************************
>
>    This  email message and any files transmitted with it are confidential
>    and intended solely for the use of addressed recipient(s). If you have
>    received  this  email  in  error please notify the Spotless IS Support
>    Centre  (+61 3 9269 7555) immediately, who will advise further action.
>    This  footnote  also confirms that this email message has been scanned
>    for the presence of computer related viruses.
>
>    **********************************************************************
> -------
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to