Re: Help parsing XML file
Re: Help parsing XML file
- Subject: Re: Help parsing XML file
- From: Terry Ofner <email@hidden>
- Date: Fri, 7 Mar 2008 17:03:30 -0500
Hi Jim,
I have never used XMLLib osax. I just downloaded 3.0 from SmileLab
and looked at the documentation. I am not sure you will be able to
easily select and format the text you want using XMLLib directly. I
am thinking you might want to try an xslt stylesheet, which XMLLib
does support. Of course, if you don't know xslt, you will be in the
same situation as you are now. But xslt is a much more ubiquitous
language with lots of books and online support.
Terry
On Mar 7, 2008, at 2:11 PM, Jim Skibbie wrote:
Here’s the code I’m using, but I don’t get any nodes returned for
the variable x.
set XMLfile to alias "Macintosh HD:tempscripttext.xml"
set theDoc to XMLOpen XMLfile
set the_root to XMLRoot theDoc
set x to XMLXPath the_root with "/FMPDSORESULT/ROW/ValueColor01"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
40comcast.net
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
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