Re: XML generation details (was Re: ASObjC alloc and object creation)
Re: XML generation details (was Re: ASObjC alloc and object creation)
- Subject: Re: XML generation details (was Re: ASObjC alloc and object creation)
- From: Jean-Christophe Helary <email@hidden>
- Date: Mon, 29 Jan 2018 22:16:59 +0900
> On Jan 29, 2018, at 22:04, Shane Stanley <email@hidden> wrote:
>
>> How do I later access the "tag1" element to further add children to it?
>
> OK, now I understand what you're asking. Assuming there's only one element
> named 'tag1":
>
> set tag1Element to (project's elementsForName:"tag1")'s firstObject()
:) I was looking at attributes for NSXMLElement instead of checking the
methods...
Thank you :)
Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune
_______________________________________________
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