Re: Lists to XML ?
Re: Lists to XML ?
- Subject: Re: Lists to XML ?
- From: Shane Stanley <email@hidden>
- Date: Sat, 25 Mar 2017 23:27:36 +1100
On 25 Mar 2017, at 11:15 pm, Shane Stanley <email@hidden> wrote:
And this gets me off to bed:
use framework "Foundation" use scripting additions
set theDTD to current application's NSXMLDTD's new() theDTD's setName:"tmx" theDTD's setPublicID:"-//LISA OSCAR:1998//DTD for Translation Memory eXchange//EN" theDTD's setSystemID:"tmx14.dtd" set theDoc to current application's NSXMLDocument's new() theDoc's setDTD:theDTD return theDoc's XMLString() as text --> <!DOCTYPE tmx PUBLIC "-//LISA OSCAR:1998//DTD for Translation Memory eXchange//EN" "tmx14.dtd">
|
_______________________________________________
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