mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +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:
@ -44,6 +44,11 @@ GENERATED= $(srcdir)/libxml2class.py \
|
||||
$(GENERATED): $(srcdir)/$(GENERATE) $(API_DESC)
|
||||
cd $(srcdir) && $(PYTHON) $(GENERATE)
|
||||
|
||||
dummy:
|
||||
|
||||
tests: dummy
|
||||
cd tests && $(MAKE) tests
|
||||
|
||||
clean:
|
||||
rm -f $(GENERATED) *.o _libxml.so *.pyc libxml2.py
|
||||
|
||||
|
@ -5,7 +5,6 @@
|
||||
Things to do:
|
||||
-------------
|
||||
|
||||
- handling of node.content
|
||||
- SAX interfaces
|
||||
- memory debug interfaces
|
||||
- enums -> libxml.py
|
||||
@ -41,5 +40,6 @@ Done:
|
||||
Done, a bit ugly by running new makes in %install for each level
|
||||
found.
|
||||
- error redirections and preformat
|
||||
- handling of node.content
|
||||
|
||||
Daniel Veillard
|
||||
|
@ -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
|
||||
#
|
||||
|
Reference in New Issue
Block a user