Re: XML script library?
Re: XML script library?
- Subject: Re: XML script library?
- From: Shane Stanley <email@hidden>
- Date: Sun, 01 Mar 2015 13:55:26 +1100
On 1 Mar 2015, at 10:28 am, Jörgen Stahle <email@hidden> wrote:
>
> However, if there was a scripting library out there, with the same capacity as XMLlib or XML Tools, I would still use that in my next project. At least for a try.
What are you actually doing in XML?
I guess I'm not sure what you'd expect to see in such a library. Sure, handlers for creating/opening/saving XML documents are obvious, and for doing XPath queries and XSLT transforms. But what else?
Because it seems to me that once you get into traversing elements and nodes, handlers aren't a lot of use: you need an object model more. And Cocoa already provides that in the form of NSXMLDocument, NSXMLElement and MSXMLNode, all of which you have access to via ASObjC.
So maybe what you need is not so much a library, as an understanding of how to deal with an XML object model using these classes and Objective-C.
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden