• 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: Reading XML files (Philip Aker)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading XML files (Philip Aker)


  • Subject: Re: Reading XML files (Philip Aker)
  • From: Chris Janton <email@hidden>
  • Date: Thu, 29 Aug 2002 07:37:41 -0700

On Thursday, August 29, 2002, at 06:34 AM, applescript-users-request@lists.
apple.com wrote:

It is relatively easy to read user defaults from a plist file, but how
do I do this from a generic XML file (plist or otherwise)? Of course
just reading it as text is easy too, but I would like to access a dict
entry directly without any text processing.

cp "path/to/x.xml" "path/to/x.plist"
defaults read "path/to/x.plist"

This example doesn't make sense to me...do you intend that we just copy an XML file to a file named x.plist and then somehow use defaults to read it?
Doesn't work for me...

8)
_______________________________________________
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: Reading XML files (Philip Aker)
      • From: Philip Aker <email@hidden>
  • Prev by Date: Accessing Dictionary Contents (was: Re: AppleScript Try)
  • Next by Date: Re: Handlers and Tell Blocks
  • Previous by thread: Re: Accessing Dictionary Contents (was: Re: AppleScript Try)
  • Next by thread: Re: Reading XML files (Philip Aker)
  • Index(es):
    • Date
    • Thread