1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

a bit of cleanup small fix more work on the XmlTextReader tutorial a few

* xmllint.c: a bit of cleanup
* xmlreader.c: small fix
* doc/xmlreader.html: more work on the XmlTextReader tutorial
* python/libxml.py: a few fixes pointed out by Hannu Krosing
Daniel
This commit is contained in:
Daniel Veillard
2003-01-04 16:35:29 +00:00
parent 623a9eb2df
commit e59494fa54
5 changed files with 218 additions and 39 deletions

View File

@ -302,11 +302,6 @@ class xmlCore:
return libxml2mod.name(self._o)
def get_type(self):
return libxml2mod.type(self._o)
def get_doc(self):
ret = libxml2mod.doc(self._o)
if ret == None:
return None
return xmlDoc(_obj=ret)
def free(self):
libxml2mod.freeDoc(self._o)
@ -356,7 +351,7 @@ def nodeWrap(o):
if name == "entity_decl":
return xmlEntity(_obj=o)
if name == "dtd":
return xmlAttr(_obj=o)
return xmlDtd(_obj=o)
return xmlNode(_obj=o)
def xpathObjectRet(o):