Commit cfb05462 authored by Daniel Veillard's avatar Daniel Veillard
Browse files

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
parent 5d81903b
Sun Feb 3 00:17:26 CET 2002 Daniel Veillard <daniel@veillard.com>
* python/Makefile.am python/TODO python/libxml.py: fixed a small
bug a bit of cleanup.
Sat Feb 2 22:47:10 CET 2002 Daniel Veillard <daniel@veillard.com>
* python/Makefile.am python/libxml.c python/libxml2-python-api.xml
......
......@@ -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
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment