1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-06-13 19:21:37 +03:00

fixed a small bug a bit of cleanup. Daniel

* python/Makefile.am python/TODO python/libxml.py: fixed a small
  bug a bit of cleanup.
Daniel
This commit is contained in:
Daniel Veillard
2002-02-02 23:18:22 +00:00
parent 5d81903b06
commit cfb0546244
4 changed files with 20 additions and 2 deletions

View File

@ -45,7 +45,7 @@ class xmlCore:
return None
return xmlNode(_obj=ret)
elif attr == "content":
return self.content()
return _libxml.xmlNodeGetContent(self._o)
elif attr == "name":
return _libxml.name(self._o)
elif attr == "type":
@ -147,6 +147,14 @@ def xpathObjectRet(o):
def registerXPathFunction(ctxt, name, ns_uri, f):
ret = _libxml.xmlRegisterXPathFunction(ctxt, name, ns_uri, f)
#
# A parser context
#
class parserCtxt:
def __init__(self, _obj=None):
self._o = _obj
#
# Everything below this point is automatically generated
#