Pretty Printing XML

Ray ray at linkit.com
Wed Oct 23 11:56:50 EDT 2013


Mark,

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.

Thanks,

Ray

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.
>>
>> Thanks,
>>
>> 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:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the Use-livecode mailing list