Re: [xml] How do I detect node identity in the Python bindings?



Cool - it's possible to fix it.  This ought to be a good reason to pick up Pyrex.  I've been meaning to learn 
that thing anyway.  :)

vic

On Thursday June 17th 2004, Daniel Veillard wrote:

On Thu, Jun 17, 2004 at 11:35:00AM -0400, Victor Ng wrote:
How do I get the same reference for a node in libxml2?
...
Is this a bug in libxml2's Python bindings or does libxml2 exhibit this
behavior when I use the native C bindings?
That's a problem in the python bindings, the objects are the same at the
C level but the wrapper creates new objects. an extra function to test
the underlying C node equality would be needed.
Daniel
--
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/


--
Everbody wants a pain shot at the same time.



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