• 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
XMLRPC Return Values and popfile
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XMLRPC Return Values and popfile


  • Subject: XMLRPC Return Values and popfile
  • From: Robert Nilsson <email@hidden>
  • Date: Sun, 21 Dec 2003 23:10:11 -0600

I'm trying to control popfile with AppleScript, and have run into a challenge with regard to the XMLRPC return values.

popfile is returning multiple values (for example, a call to get_buckets) in the format:

<methodResponse>
<params>
<param><value><string>bucket1</string></value></param>
<param><value><string>bucket2</string></value></param>
...
<param><value><string>bucket3</string></value></param>
</params>
</methodResponse>

AppleScript will only report the first parameter returned, in this case "bucket1".

This type of return value appears to violate the XMLRPC spec, but since I can't change it, I'm wondering if anyone has a creative way of getting the entire response.

Thanks,

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

  • Prev by Date: Re: OT: "Reply to all" oddity; server or Entourage??
  • Next by Date: Re: OT: "Reply to all" oddity; server or Entourage??
  • Previous by thread: Re: OT: "Reply to all" oddity; server or Entourage??
  • Next by thread: variables and labels
  • Index(es):
    • Date
    • Thread