Testing conformity of xml data

Malte Brill revolution at derbrill.de
Tue Jan 29 04:16:55 EST 2008


Sarah wrote:

 > Rev's XML library can give a text representation of an
 > XML tree using revXMLtext, but it is not formatted and appears all on
 > one line.

Just to share something nice (and as a reminder to mySelf) revXmlText  
has an undocumented third parameter. if you use

put revXMLText(tId,,true)

you will receive pretty printed XML. (At least sort of)

All the best,

Malte



More information about the use-livecode mailing list