• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: XML script library?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >XML script library? (From: Jörgen Stahle <email@hidden>)
 >Re: XML script library? (From: Emmanuel LEVY <email@hidden>)
 >Re: XML script library? (From: Emmanuel LEVY <email@hidden>)
 >Re: XML script library? (From: Shane Stanley <email@hidden>)
 >Re: XML script library? (From: Emmanuel LEVY <email@hidden>)
 >Re: XML script library? (From: Jörgen Stahle <email@hidden>)

  • Prev by Date: Re: Recurring Reminders/Calendar Events?
  • Previous by thread: Re: XML script library?
  • Next by thread: Re: XML script library?
  • Index(es):
    • Date
    • Thread