aboutsummaryrefslogtreecommitdiffstats
path: root/python/libxml.py
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2002-02-01 17:56:45 +0000
committerDaniel Veillard <veillard@src.gnome.org>2002-02-01 17:56:45 +0000
commita7340c830e4bddd86201cfdb97ac81e30b0dee62 (patch)
tree9b69e67951590bca309d0836e6868844ac690d57 /python/libxml.py
parentc3e39448e5af3896b90f40df2339d9f4b468eb88 (diff)
downloadandroid_external_libxml2-a7340c830e4bddd86201cfdb97ac81e30b0dee62.tar.gz
android_external_libxml2-a7340c830e4bddd86201cfdb97ac81e30b0dee62.tar.bz2
android_external_libxml2-a7340c830e4bddd86201cfdb97ac81e30b0dee62.zip
more work, now able to extend the XPath interpreter with functions written
* python/Makefile.am python/generator.py python/libxml.c python/libxml.py: more work, now able to extend the XPath interpreter with functions written in python. Daniel
Diffstat (limited to 'python/libxml.py')
-rw-r--r--python/libxml.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/libxml.py b/python/libxml.py
index 476bb279..88be5d71 100644
--- a/python/libxml.py
+++ b/python/libxml.py
@@ -142,6 +142,12 @@ def xpathObjectRet(o):
return o
#
+# register an XPath function
+#
+def registerXPathFunction(ctxt, name, ns_uri, f):
+ ret = _libxml.registerXPathFunction(ctxt, name, ns_uri, f)
+
+#
# Everything below this point is automatically generated
#