1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-06-15 10:41:43 +03:00

patch from Sean Treadway, adding Python bindings for extension element and

* python/generator.py python/libxslt-python-api.xml python/libxslt.c
  python/libxslt_wrap.h python/libxsltclass.txt: patch from
  Sean Treadway, adding Python bindings for extension element and
  some bindings cleanups.
* python/tests/Makefile.am python/tests/extelem.py: also add an
  example/test.
Daniel
This commit is contained in:
Daniel Veillard
2003-07-09 10:22:14 +00:00
parent 0232312dde
commit 9332a25a91
8 changed files with 387 additions and 40 deletions

View File

@ -24,6 +24,14 @@
<arg name='f' type='pythonObject' info='the python function'/>
<arg name='ctx' type='pythonObject' info='a context for the callback'/>
</function>
<function name='xsltRegisterExtModuleElement' file='python'>
<info>Register a Python written element to the XSLT engine</info>
<return type='int' info="0 in case of success, -1 in case of error"/>
<arg name='name' type='xmlChar *' info='the element name'/>
<arg name='URI' type='xmlChar *' info='the namespace or NULL'/>
<arg name='precompile' type='pythonObject' info='method called when stylesheet is compiled'/>
<arg name='transform' type='pythonObject' info='method called during transform, must not modify stylesheet'/>
</function>
<function name='xsltRegisterExtModuleFunction' file='python'>
<info>Register a Python written function to the XSLT engine</info>
<return type='int' info="0 in case of success, -1 in case of error"/>