commiting some Python bindings work done while travelling Daniel
* python/*: commiting some Python bindings work done while travelling
Daniel
diff --git a/python/libxml2-python-api.xml b/python/libxml2-python-api.xml
index 4777319..5026ee1 100644
--- a/python/libxml2-python-api.xml
+++ b/python/libxml2-python-api.xml
@@ -1,10 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<api name='libxml2-python'>
- <files>
- <file name='python'>
- <exports symbol='libxml_registerXPathFunction'/>
- </file>
- </files>
<symbols>
<function name='xmlRegisterXPathFunction' file='python'>
<info>Register a Python written function to the XPath interpreter</info>
@@ -14,6 +9,11 @@
<arg name='ns_uri' type='xmlChar *' info='the namespace or NULL'/>
<arg name='f' type='pythonObject' info='the python function'/>
</function>
+ <function name='xmlNewNode' file='python'>
+ <info>Create a new Node</info>
+ <return type='xmlNodePtr' info="A new element node"/>
+ <arg name='name' type='xmlChar *' info='the node name'/>
+ </function>
<function name='xmlRegisterErrorHandler' file='python'>
<info>Register a Python written function to for error reporting. The function is called back as f(ctx, error).</info>
<return type='int' info="1 in case of success, 0 or -1 in case of error"/>