there's a feature (documented since 2.9, but available in earlier versions too) which intends, and inserts returns:

revXMLText(theID,,true)

On 8 Jun 2008, at 14:46, David Bovill 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:


function xml_MakePretty someXML
   replace "><" with ">" & CR & tab & "<" in someXML
   return someXML
end xml_MakePretty
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to