Re: [U2] Re: [UV] Formating a XML string
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/
RE: [U2] Re: [UV] Formating a XML string
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] Re: [UV] Formating a XML string
Does Universe have a software tool to format a XML string so that is nicely indented ? Ei from: XXX To: XXX __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/