mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-06-16 21:40:58 +03:00
applied patch from Nic James Ferrier to make stylesheets comparable and to
* configure python/generator.py python/libxsl.py python/libxslt-python-api.xml python/libxslt.c python/tests/2stage.py python/tests/loader.py: applied patch from Nic James Ferrier to make stylesheets comparable and to add transformContext handling Daniel
This commit is contained in:
@ -11,6 +11,56 @@
|
||||
<arg name='style' type='xsltStylesheetPtr' info='a parsed XSLT stylesheet'/>
|
||||
<arg name='result' type='xmlDocPtr' info='The result document'/>
|
||||
</function>
|
||||
<function name='xsltSetLoaderFunc' file='python'>
|
||||
<info>Set the function for controlling document loading</info>
|
||||
<return type='long' info='0 for failure or 1 for success'/>
|
||||
<arg name='loader' type='pythonObject' info='the loader function; should take: string URI, xsltParserContext, context, type; when type == 1 the context is a stylesheet, when type == 0 the context is a transformCtxt'/>
|
||||
</function>
|
||||
<function name='xsltGetLoaderFunc' file='python'>
|
||||
<info>Get the function for controlling document loading</info>
|
||||
<return type='pythonObject *' info='the function'/>
|
||||
</function>
|
||||
<function name='xsltNewTransformContext' file='python'>
|
||||
<info>Create a new XSLT TransformContext</info>
|
||||
<return type='xsltTransformContextPtr' info='an xslt TransformContext'/>
|
||||
<arg name='style' type='xsltStylesheetPtr' info='a parsed XSLT stylesheet'/>
|
||||
<arg name='doc' type='xmlDocPtr' info='the input document'/>
|
||||
</function>
|
||||
<function name='xsltFreeTransformContext' file='python'>
|
||||
<info>Free up an existing XSLT TransformContext</info>
|
||||
<return type='void' info='None'/>
|
||||
<arg name='transformCtxt' type='xsltTransformContextPtr' info='an existing tranformCtxt'/>
|
||||
</function>
|
||||
<function name='xsltGetTransformContextHashCode' file='python'>
|
||||
<info>Get the hash code of the transformContext</info>
|
||||
<return type='int' info='the hash code' />
|
||||
<arg name='transformCtxt' type='xsltTransformContextPtr' info='a parsed XSLT transformContext'/>
|
||||
</function>
|
||||
<function name='xsltGetStylesheetHashCode' file='python'>
|
||||
<info>Get the hash code of the stylesheet</info>
|
||||
<return type='int' info='the hash code' />
|
||||
<arg name='stylesheet' type='xsltStylesheetPtr' info='a parsed XSLT stylesheet'/>
|
||||
</function>
|
||||
<function name='xsltCompareTransformContextsEqual' file='python'>
|
||||
<info>Compare one transformCtxt with another</info>
|
||||
<return type='int' info='1 in case of success, 0 or -1 in error' />
|
||||
<arg name='transformCtxt' type='xsltTransformContextPtr' info='a parsed XSLT transformContext'/>
|
||||
<arg name='other' type='xsltTransformContextPtr' info='a parsed XSLT transformContext'/>
|
||||
</function>
|
||||
<function name='xsltCompareStylesheetsEqual' file='python'>
|
||||
<info>Compare one stylesheet with another</info>
|
||||
<return type='int' info='1 in case of success, 0 or -1 in error' />
|
||||
<arg name='stylesheet' type='xsltStylesheetPtr' info='a parsed XSLT stylesheet'/>
|
||||
<arg name='other' type='xsltStylesheetPtr' info='a parsed XSLT stylesheet'/>
|
||||
</function>
|
||||
<function name='xsltApplyStylesheetUser' file='python'>
|
||||
<info>Apply the stylesheet to the document</info>
|
||||
<return type='xmlDocPtr' info="the result document or NULL in case of error"/>
|
||||
<arg name='style' type='xsltStylesheetPtr' info='a parsed XSLT stylesheet'/>
|
||||
<arg name='doc' type='xmlDocPtr' info='a parsed XML document'/>
|
||||
<arg name='params' type='pythonObject' info='the parameters dictionnary'/>
|
||||
<arg name='transformCtxt' type='xsltTransformContextPtr' info='transformation context'/>
|
||||
</function>
|
||||
<function name='xsltApplyStylesheet' file='python'>
|
||||
<info>Apply the stylesheet to the document</info>
|
||||
<return type='xmlDocPtr' info="the result document or NULL in case of error"/>
|
||||
|
Reference in New Issue
Block a user