Currently Being Moderated
Oct 22, 2007 3:05 AM
Hi gurus,
Basically, I want to read an XML file from within a plugin, without using the AIXMLxxxSuites. Sound simple? Answers on a postcard please, because I haven't managed it yet, and I'm running out of hair!
I've tried using libxml2, which works great... until you quit Illustrator, then it crashes and I can't stop it from doing so. I can only assume that something's being released when my plugin is unloaded which Illustrator's not expecting, causing a crash on exit, but I'm just guessing.
I've also tried eXpat, which was a complete nightmare to install but I got it working eventually. Only problem is that when you compile it with fink (or some other package manager) it compiles for your specific architecture, i386 in my case. This doesn't end well when you have over 500 mixed PPC/i386 Macs to target.
So anyone else got any ideas? I'm quite new to Mac development coming from a Windows dev background (where'd MSXML go?!) so please be gentle :)
Thanks in advance!
--W