Re: Lists to XML ?
Re: Lists to XML ?
- Subject: Re: Lists to XML ?
- From: Shane Stanley <email@hidden>
- Date: Sat, 25 Mar 2017 10:25:11 +1100
On 25 Mar 2017, at 10:20 am, Jean-Christophe Helary <email@hidden> wrote:
set rootElement to "tmx" set theXMLDocument to current application's NSXMLDocument's alloc()'s initWithRootElement:rootElement
and I'm still getting an error message in SD: Applescript Execution Error -[NSTaggedPointerString kind]: unrecognized selector sent to instance 0x786d7435
That's because rootElement here contains a string, and not whichever element you intend to be the root element.
|
_______________________________________________
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