Quantcast
Viewing all articles
Browse latest Browse all 50

How to add xml tags in a text file and save as .xml using AppleScript?

I have job.txt with contents:

Purolator Edmonton
607431612227

And I want job.xml with contents:

<tags>
<tag1>Purolator Edmonton</tag1>
<tag2>607431612227</tag2>
</tags>

Please help.

Viewing all articles
Browse latest Browse all 50

Trending Articles