converting & into &
converting & into &
- Subject: converting & into &
- From: Bert Groeneveld <email@hidden>
- Date: Tue, 13 Jul 2010 16:20:56 +0200
Hello,
In the following example the variable my_XML_file is an xml file that contains text like this: & and > I want to read the contents of the xml file and store it in the new variable myContent so that & is converted to a simple & and > is converted to a simple >. I found somewhere on the Internet as <<class utf8>> (which is good for keeping the euro sign), but that doesn't help me. Who can help? Is it anyway possible?
Bert.
set openedFile to open for access my_XML_file set myContent to read openedFile as «class utf8» close access openedFile |
_______________________________________________
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