Re: XML DOM?
Re: XML DOM?
- Subject: Re: XML DOM?
- From: has <email@hidden>
- Date: Mon, 7 Apr 2003 18:33:39 +0100
goran ehn wrote:
Ok, I see, it is as I suspected it to be, either XML Tools from Late
Night SW or build something using Java or Objective-C to link with
applescript.
Or you could write your own XML-DOM library. Maybe a couple thousand
lines; quite doable. (Writing a decent XML parser to hook up to it
will be harder though.)
Or you could go half-n-half with XML Tools, writing a DOM-style
wrapper for its list-n-record structures. Although I can't think of
an easy solution to its annoying attributes-as-records habit, other
than persuading LNS to add a 'presenting attributes as (list|record)'
option to the 'parse XML' command.
Or go use another scripting language that includes an XML-DOM library
as standard, e.g. Python - nice language; easy to learn and comes
with a decent set of libraries.
has
--
http://www.barple.pwp.blueyonder.co.uk -- The Little Page of AppleScripts
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.