• 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: XML/plist parsing (Was: 'info for' braindead...)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XML/plist parsing (Was: 'info for' braindead...)


  • Subject: Re: XML/plist parsing (Was: 'info for' braindead...)
  • From: Michael Terry <email@hidden>
  • Date: Thu, 6 May 2004 15:22:14 -0700

On May 6, 2004, at 1:01 PM, Joseph Weaks wrote:

On May 6, 2004, at 8:42 AM, Gnarlodious wrote:
Entity Joseph Weaks spoke thus:
Any of you care to share your brilliantly economic handlers you've
created to parse XML?

Post an example of the key you want to read.

Well, as for plist files, let's assume the following sample. To keep it simple, it has no nested arrays, <data>, or <dict>'s. However, there is often a nested <dict> in arrays for instance, so it'd be nice if the presence of one didn't break the handler. Ideally I'd like to see a good way to implement a handler something like the following:


There's a free, vanilla AS library here called 'PListDOM':

http://applemods.sourceforge.net/mods/Data/index.php

... which completely parses any plist into AS data structures which you can then query. Requires vanilla 'Loader', also available at the site for free.


Mike
_______________________________________________
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: XML/plist parsing
      • From: Joseph Weaks <email@hidden>
References: 
 >Re: 'info for' braindead about .app packages (From: Gnarlodious <email@hidden>)
 >XML/plist parsing (Was: 'info for' braindead...) (From: Joseph Weaks <email@hidden>)

  • Prev by Date: Re: XML/plist parsing
  • Next by Date: Re: GUI Scripting and QXP
  • Previous by thread: Re: XML/plist parsing
  • Next by thread: Re: XML/plist parsing
  • Index(es):
    • Date
    • Thread