• 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
Parsing Records and Lists
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Parsing Records and Lists


  • Subject: Parsing Records and Lists
  • From: Jaime Magiera <email@hidden>
  • Date: Sun, 11 May 2003 23:58:38 -0400

I'm having problems parsing a record result of a SOAP call...

1. This is the total response

{{|entityName|:"Link", |globalID|:{|entityName|:"Link", |primaryKeys|:{1}}, |properties|:{|linkURL|:"http://www.beehivecollective.org";, |linkNumber|:1, |linkText|:"Beehive Design Collective"}}, {|entityName|:"Link", |globalID|:{|entityName|:"Link", |primaryKeys|:{2}}, |properties|:{|linkURL|:"http://www.sensoryresearch.com";, |linkNumber|:2, |linkText|:"Link #2"}}}


2. Using

set theLink to item 1 of this_result


I get...

{|entityName|:"Link", |globalID|:{|entityName|:"Link", |primaryKeys|:{1}}, |properties|:{|linkURL|:"http://www.beehivecollective.org";, |linkNumber|:1, |linkText|:"Beehive Design Collective"}}



3. I've tried to get at the particular parameters of this record without success. Should it the code just be...


set theURL to linkURL of theLink

What am I missing?

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

  • Follow-Ups:
    • Re: Parsing Records and Lists
      • From: Andrew Oliver <email@hidden>
  • Prev by Date: Re: A simple deletion script
  • Next by Date: Re: Parsing Records and Lists
  • Previous by thread: Re: Getting the labels of a record (revisited): Part 1 of 2
  • Next by thread: Re: Parsing Records and Lists
  • Index(es):
    • Date
    • Thread