• 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: Problem parsing XML from a SOAP call
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem parsing XML from a SOAP call


  • Subject: Re: Problem parsing XML from a SOAP call
  • From: Timothy Bates <email@hidden>
  • Date: Thu, 21 Feb 2002 16:20:44 +1100

On 21/2/02 7:37 AM, "Tim Jarrett" <email@hidden> wrote:
> I'm having some interesting times parsing the XML from a SOAP call.
> AppleScript turns the XML into a list with named items, with each
> item having the format
> departmentname:{createdDate:timestamp, pictureshortcut:"picturename"}
> My question:
> how can I figure out what <departmentname> is for a given item?

Nice problem. There is no high level accessor for record names: you are
supposed to know them ahead of time.

So ... You need to work with the raw XML returned. Mark aldritt has tools
for this (9 and X):

http://www.latenightsw.com/freeware/XMLTools2/index.html

tim
_______________________________________________
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.

References: 
 >Problem parsing XML from a SOAP call (From: Tim Jarrett <email@hidden>)

  • Prev by Date: Re: Can't re-name file with time stamp
  • Next by Date: Re: Automatic scrolling
  • Previous by thread: Problem parsing XML from a SOAP call
  • Next by thread: Re: Problem parsing XML from a SOAP call
  • Index(es):
    • Date
    • Thread