Re: Working with XML...
Re: Working with XML...
- Subject: Re: Working with XML...
- From: Jean-Christophe Helary <email@hidden>
- Date: Wed, 20 Dec 2017 21:44:13 +0900
Thank you.
I checked the original code and it has:
"Unlike other DOM parsers, XMLDictionary does not attempt to replicate all of
the nuances of the XML standard such as the ability to nest tags within text."
My XML format does have nested tags within text... :(
Jean-Christophe
> On Dec 20, 2017, at 21:19, Takaaki Naganoya <email@hidden> wrote:
>
> Sample Code + Framework download link is available.
>
> http://piyocast.com/as/archives/4304
>
> This framework is one of my trials. There is a lot of XML parser written in
> Objective-C.
>
>> 2017/12/20 21:04、Jean-Christophe Helary
>> <email@hidden>のメール:
>>
>> Thank you Takaaki,
>>
>> Are the frameworks available online, and do you have example code too?
>>
>> Jean-Christophe
>>
>>> On Dec 19, 2017, at 14:07, Takaaki Naganoya <email@hidden> wrote:
>>>
>>>>
>>>> 2017/12/18 14:05、Jean-Christophe Helary
>>>> <email@hidden>のメール:
>>>>
>>>> It looks like System Events has problems with big XML files...
>>>
>>> I made some Cocoa Frameworks with open-source based Objective-C program to
>>> parse XML into NSDictionary.
>>> I can parse a large XML file (80MB) by calling the framework from
>>> AppleScriptObjC.
>>> It tooks about 50 seconds to parse without crashing on my environment
>>> (MacBook Pro Retina 2012, Core i7 2.6GHz).
>>
>>
>> Jean-Christophe Helary
>> -----------------------------------------------
>> @brandelune http://mac4translators.blogspot.com
>>
>>
>> _______________________________________________
>> 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
>
> --
> Takaaki Naganoya
> email@hidden
> http://piyocast.com/as/
>
>
>
> _______________________________________________
> 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
Jean-Christophe Helary
-----------------------------------------------
@brandelune http://mac4translators.blogspot.com
_______________________________________________
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