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 20:07:22 +0900
> On Jan 29, 2018, at 19:49, Shane Stanley <email@hidden> wrote:
>
>> 1) I'm using a list and a repeat with/in loop to create the various XML
>> elements in the document. That works well enough. Is there a way to do
>> something equivalent but using ASObjC methods with an array that I'd create
>> from that list?
>
> You mean create them as a batch? No.
Ok, thank you. There were things with arrays in your book so I wondered.
> source_dir_excludes is source_dir_excludes, whether you've added it as a
> child element of something or detached it from its parent. So if I understand
> correctly, that "theProject's" is unnecessary (and wrong).
Ok, I'l try stuff and report :)
>> But when I try:
>>
>> theProject's CharacterEncoding()
>>
>> I get an error...
>
> Because case matters. The setter is setCharacterEncoding: and the getter is
> characterEncoding().
Arghhh! I guess SD's autocompletion features would have caught the error (or
helped me not make it...)
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