[xml] Namespace equality with Python bindings
- From: Anthony Carrico <acarrico memebeam org>
- To: libxml <xml gnome org>
- Subject: [xml] Namespace equality with Python bindings
- Date: Tue, 12 Aug 2003 22:40:48 -0400
In libxml2 with Python bindings, what is the proper way to check for
xmlNS equality? Is a pointer compare possible? Is a string compare
necessary? Is it like this?:
ns = root.searchNsByHref(doc, "http://blahblah")
ns.content == root.ns().content
Is this kind of "semantic" issue documented someplace?
Thanks!
--
Anthony Carrico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]