On Jan 27, 2007, at 4:45 PM, Jonathan Johnson wrote:


On Jan 27, 2007, at 4:46 PM, karl arder wrote:

Thanks Norm and Lance for the info.

I a little confused about Apple being unable to correctly build/ use an XML file. Isn't XML a standard? I'm also confused that the two solutions I've been pointed to do not use RB's dictionary class - but scans the block of memory the data was dumped into using instr's. Is this due to Apple's odd flavor of XML or is this the best/fastest way?

Parsing an XML file can be quite memory and computational intensive as it requires finding block starts and ends. However, if you know characteristics of the XML file and can get all the information you need to by simply scanning the file once (instr/instrb), it will generally be faster.

However, the XML classes in REALbasic are based on commonly used open-source libraries, so the speed should match most XML parsers.

They do

I ended up doing a really fast parse using regex's though

It could read a 50,000 song iTunes XML library in about 2 seconds which you won't get with anything else

I'm just not at liberty to share it
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to