11
11
<arg name='style' type='xsltStylesheetPtr' info='a parsed XSLT stylesheet'/>
12
12
<arg name='result' type='xmlDocPtr' info='The result document'/>
14
<function name='xsltSetLoaderFunc' file='python'>
15
<info>Set the function for controlling document loading</info>
16
<return type='long' info='0 for failure or 1 for success'/>
17
<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'/>
19
<function name='xsltGetLoaderFunc' file='python'>
20
<info>Get the function for controlling document loading</info>
21
<return type='pythonObject *' info='the function'/>
23
<function name='xsltNewTransformContext' file='python'>
24
<info>Create a new XSLT TransformContext</info>
25
<return type='xsltTransformContextPtr' info='an xslt TransformContext'/>
26
<arg name='style' type='xsltStylesheetPtr' info='a parsed XSLT stylesheet'/>
27
<arg name='doc' type='xmlDocPtr' info='the input document'/>
29
<function name='xsltFreeTransformContext' file='python'>
30
<info>Free up an existing XSLT TransformContext</info>
31
<return type='void' info='None'/>
32
<arg name='transformCtxt' type='xsltTransformContextPtr' info='an existing tranformCtxt'/>
34
<function name='xsltGetTransformContextHashCode' file='python'>
35
<info>Get the hash code of the transformContext</info>
36
<return type='int' info='the hash code' />
37
<arg name='transformCtxt' type='xsltTransformContextPtr' info='a parsed XSLT transformContext'/>
39
<function name='xsltGetStylesheetHashCode' file='python'>
40
<info>Get the hash code of the stylesheet</info>
41
<return type='int' info='the hash code' />
42
<arg name='stylesheet' type='xsltStylesheetPtr' info='a parsed XSLT stylesheet'/>
44
<function name='xsltCompareTransformContextsEqual' file='python'>
45
<info>Compare one transformCtxt with another</info>
46
<return type='int' info='1 in case of success, 0 or -1 in error' />
47
<arg name='transformCtxt' type='xsltTransformContextPtr' info='a parsed XSLT transformContext'/>
48
<arg name='other' type='xsltTransformContextPtr' info='a parsed XSLT transformContext'/>
50
<function name='xsltCompareStylesheetsEqual' file='python'>
51
<info>Compare one stylesheet with another</info>
52
<return type='int' info='1 in case of success, 0 or -1 in error' />
53
<arg name='stylesheet' type='xsltStylesheetPtr' info='a parsed XSLT stylesheet'/>
54
<arg name='other' type='xsltStylesheetPtr' info='a parsed XSLT stylesheet'/>
56
<function name='xsltApplyStylesheetUser' file='python'>
57
<info>Apply the stylesheet to the document</info>
58
<return type='xmlDocPtr' info="the result document or NULL in case of error"/>
59
<arg name='style' type='xsltStylesheetPtr' info='a parsed XSLT stylesheet'/>
60
<arg name='doc' type='xmlDocPtr' info='a parsed XML document'/>
61
<arg name='params' type='pythonObject' info='the parameters dictionary'/>
62
<arg name='transformCtxt' type='xsltTransformContextPtr' info='transformation context'/>
14
64
<function name='xsltApplyStylesheet' file='python'>
15
65
<info>Apply the stylesheet to the document</info>
16
66
<return type='xmlDocPtr' info="the result document or NULL in case of error"/>
17
67
<arg name='style' type='xsltStylesheetPtr' info='a parsed XSLT stylesheet'/>
18
68
<arg name='doc' type='xmlDocPtr' info='a parsed XML document'/>
19
<arg name='params' type='pythonObject' info='the parameters dictionnary'/>
69
<arg name='params' type='pythonObject' info='the parameters dictionary'/>
21
71
<function name='xsltRegisterErrorHandler' file='python'>
22
72
<info>Register a Python written function to for error reporting. The function is called back as f(ctx, error).</info>