Re: Lists to XML ?
Re: Lists to XML ?
- Subject: Re: Lists to XML ?
- From: Jean-Christophe Helary <email@hidden>
- Date: Sat, 25 Mar 2017 10:12:25 +0900
On Mar 25, 2017, at 8:51, Shane Stanley < email@hidden> wrote:
On 25 Mar 2017, at 2:35 am, Jean-Christophe Helary < email@hidden> wrote:
# creation of the <tu> element, no attributes set TUElement to (current application's NSXMLNode's elementWithName:"tu")
# processing the TM data, from the second row repeat with i from 2 to length of myTMData # myTU is a given row, contains as many <tuv> elements as there are items in rows of myTMData set myTU to item i of myTMData repeat with j from 1 to length of myTU
Change the order -- you want a new tu element each time through the first repeat loop:
Ooops, that was pretty obvious. I was creating the <tu> element outside the loop, right under the <body> element...
Jean-Christophe |
_______________________________________________
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