Re: [xml] Re: [xslt] Re: libxslt effects on _private member of libxml structures



Sean McGuire wrote:
So my dirty little secret is that another reason I want to keep the void *_private first is that you can use it as an isa pointer for Objective C, and then treat all the libxml data structures like Objective C objects. :)

Wow, excellent idea ! :-)

But note that this won't work gstep-base and libFoundation which usually keep the retain count in front of isa (&isa-4).

If you are faking the libxml2 structures as Objective-C objects, how are you dealing with the string values. Did you also invent some clever (=fast) mechanism for converting libxml UTF-8 to NSString (eg a specialized NSString subclass) ?
Is your work available ?

Maybe you can/want-to help making my libxml SAX-driver faster ;-), consider taking a look at:
  http://freshmeat.net/projects/skyrix-xml/

regards,
  Helge




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]