Pretty Printing XML
ray at linkit.com
Wed Oct 23 17:56:50 CEST 2013
Wonderful! I just tried it and this works very well. A lot easier than
switching back and forth to Notepad++.
I'll also take a look at your book.
On 10/23/2013 10:06 AM, Mark Schonewille wrote:
> Hi Ray,
> 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 ;-)
> Best regards,
> Mark Schonewille
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
> 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:
> 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