Pretty Printing XML
m.schonewille at economy-x-talk.com
Wed Oct 23 10:06:52 EDT 2013
Not sure if this is what you want, but revXmlText(gTreeID,"/",true) returns a formatted XML tree. It isn't perfect, but it is easier than writing your own script. See also page 220 and thereafter in my book ;-)
Economy-x-Talk Consulting and Software Engineering
Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com
We have time for new software development projects. Contact me for a quote.
On 23 okt 2013, at 15:51, Ray wrote:
> Is there a way to do this in Livecode's script editor window or anywhere else in the IDE for that matter? After looking at Livecode scripts pretty printed for so many years it's kind of awkward to look at XML all flush left with no indication regarding the tree nodes.
> Anybody remember the good old days when you could choose Hypertalk, Metatalk, or Revtalk in the script editor window? It seems that would be the place to have such an option to view XML pretty printed.
> I've discovered it's pretty easy to do in NotePadd++ but it's clumsy to go back and forth.
> Ray Horsley
> LinkIt! Software
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode