Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XML - System Events vs XMLlib



Philip Aker wrote:

This appears to do what you want, caveat that the lack of official System Events documentation means that I've no idea if this is officially supported behaviour or not:

That solution will only provide happiness under certain conditions. I think I can illustrate with:


set r1 to {Matthew:"Matthew", Mark:"Mark"}
set r2 to run script "{Luke:\"Luke\", John:\"John\"}"
{r1, r2}
--> {{Matthew:"Matthew", Mark:"Mark"}, {luke:"Luke", john:"John"}}

Irrelevant here, and a non-issue in any case: the default lowercasing of identifier names in AERecords is an AppleScript thing; if you need to preserve case, wrap the identifier in pipes.


has
--
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Re: XML - System Events vs XMLlib (From: has <email@hidden>)
 >Re: XML - System Events vs XMLlib (From: has <email@hidden>)
 >Re: XML - System Events vs XMLlib (From: Philip Aker <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.