Re: Parsing XML in OS 10.1
Re: Parsing XML in OS 10.1
- Subject: Re: Parsing XML in OS 10.1
- From: Mark Alldritt <email@hidden>
- Date: Sun, 30 Sep 2001 10:44:23 -0700
>
Having installed 10.1, I thought I'd have a look at the XML-RPC and SOAP
>
capabilities which are built in to the OS.
>
>
And no, this is not for want of anything better to do on a Sunday!
>
>
I have a script which reads an XML file and sticks the parsed data into
>
a database. This needs revisting as it's dog slow. So, can I rewrite
>
things in OS X and make use of the OS's built in XML parsing capability?
>
Having read the documentation for XML-RPC and Soap, there doesn't seem
>
to be a way to pass data to the built-in XML parser. Is this correct? If
>
not, where should I be looking for an AS dictionary for this?
The XML-RPC and SOAP capabilities of 10.1 are not intended to be general
purpose XML parsers. These facilities are Remote Procedure Call (RPC)
standards that allow you to invoke code on another machine that supports
these open standards. Details of how to use XML-RPC and SOAP in 10.1 are
available here:
<
http://developer.apple.com/techpubs/macosx/Carbon/interapplicationcomm/soap
XMLRPC/>.
For general purpose XML parsing from AppleScript, you can use our XML Tools
osax <
http://www.latenightsw.com/freeware/XMLTools2/index.html>.
Cheers
-Mark
---------------------------------------------------------------------
Mark Alldritt Late Night Software Ltd.
Phone: 250-380-1725 333 Moss Street
FAX: 250-383-3204 Victoria, B.C.
WEB:
http://www.latenightsw.com/ CANADA V8V-4M9