Indenting XML output

David Bovill david at openpartnership.net
Sun Jun 8 19:33:40 EDT 2008


Thanks Sarah!

2008/6/8 Sarah Reichelt <sarah.reichelt at gmail.com>:

> On Sun, Jun 8, 2008 at 10:46 PM, David Bovill <david at openpartnership.net>
> wrote:
> > The output of revXmlText is hard to view. I'd like to be able to indent
> it
> > in the same way revXmlTree indents its output. Has anyone got a function
> for
> > this? I gess you need to walk the XML tree hierarchy? The function I have
> at
> > the moment is just a hack:
>
> I wrote a function a while ago to do this using the "tidy" shell command.
> It's in this post
> <
> http://www.nabble.com/Testing-conformity-of-xml-data-to15118489.html#a15153410
> >.
>
> Cheers,
> Sarah
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list