XML to AppleScript Record
XML to AppleScript Record
- Subject: XML to AppleScript Record
- From: "Stockly, Ed" <email@hidden>
- Date: Mon, 03 Mar 2008 11:24:20 -0800
- Thread-topic: XML to AppleScript Record
Before I go about reinventing the wheel, I have a question for the list.
Has anyone tried converting XML data to an appleScript record, using the xml
tags as record labels.
In other words,
<root>
<xmlDataFormat Version="1.1">
<dataTagFoo>
<dataTagBar>
"Data"
</dataTagBar>
<dataTagMore>
"More Data Data"
</dataTagMore>
</dataTagFoo>
</root>
Should translate as:
{root:{{xmlDataFormat:{version:"1.1:"}}, {dataTagFoo:{dataTagBar:"Data"}},
{dataTagMore:"More Data Data"}}}
I couldn't see how to do this with any of the XML osax or system events. Am
I missing something?
Ed
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden