Parsing Records and Lists
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.