VirtualBox

source: vbox/trunk/src/libs/libxslt-1.1.22/python/libxslt-python-api.xml@ 14437

最後變更 在這個檔案從14437是 7296,由 vboxsync 提交於 17 年 前

Added libxslt-1.1.22 sources.

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Date Revision Author Id
檔案大小: 13.7 KB
 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<api name='libxslt-python'>
3 <files>
4 <file name='python'>
5 </file>
6 </files>
7 <symbols>
8 <function name='xsltSaveResultToString' file='python'>
9 <info>Have the stylesheet serialize the result of a transformation to a python string</info>
10 <return type='char *' info='The result document as a string' />
11 <arg name='style' type='xsltStylesheetPtr' info='a parsed XSLT stylesheet'/>
12 <arg name='result' type='xmlDocPtr' info='The result document'/>
13 </function>
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'/>
18 </function>
19 <function name='xsltGetLoaderFunc' file='python'>
20 <info>Get the function for controlling document loading</info>
21 <return type='pythonObject *' info='the function'/>
22 </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'/>
28 </function>
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'/>
33 </function>
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'/>
38 </function>
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'/>
43 </function>
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'/>
49 </function>
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'/>
55 </function>
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'/>
63 </function>
64 <function name='xsltApplyStylesheet' file='python'>
65 <info>Apply the stylesheet to the document</info>
66 <return type='xmlDocPtr' info="the result document or NULL in case of error"/>
67 <arg name='style' type='xsltStylesheetPtr' info='a parsed XSLT stylesheet'/>
68 <arg name='doc' type='xmlDocPtr' info='a parsed XML document'/>
69 <arg name='params' type='pythonObject' info='the parameters dictionary'/>
70 </function>
71 <function name='xsltRegisterErrorHandler' file='python'>
72 <info>Register a Python written function to for error reporting. The function is called back as f(ctx, error).</info>
73 <return type='int' info="1 in case of success, 0 or -1 in case of error"/>
74 <arg name='f' type='pythonObject' info='the python function'/>
75 <arg name='ctx' type='pythonObject' info='a context for the callback'/>
76 </function>
77 <function name='xsltRegisterExtModuleElement' file='python'>
78 <info>Register a Python written element to the XSLT engine</info>
79 <return type='int' info="0 in case of success, -1 in case of error"/>
80 <arg name='name' type='xmlChar *' info='the element name'/>
81 <arg name='URI' type='xmlChar *' info='the namespace or NULL'/>
82 <arg name='precompile' type='pythonObject' info='method called when stylesheet is compiled'/>
83 <arg name='transform' type='pythonObject' info='method called during transform, must not modify stylesheet'/>
84 </function>
85 <function name='xsltRegisterExtModuleFunction' file='python'>
86 <info>Register a Python written function to the XSLT engine</info>
87 <return type='int' info="0 in case of success, -1 in case of error"/>
88 <arg name='name' type='xmlChar *' info='the function name'/>
89 <arg name='URI' type='xmlChar *' info='the namespace or NULL'/>
90 <arg name='f' type='pythonObject' info='the python function'/>
91 </function>
92 <function name='xsltRegisterExtensionClass' file='python'>
93 <info>Register a Python written extension class to the XSLT engine</info>
94 <return type='int' info="0 in case of success, -1 in case of error"/>
95 <arg name='URI' type='xmlChar *' info='the namespace or NULL'/>
96 <arg name='c' type='pythonObject' info='the python class instance'/>
97 </function>
98 <function name='xsltPythonCleanup' file='python'>
99 <info>Cleanup just libxslt (not libxml2) memory allocated</info>
100 <return type='void'/>
101 </function>
102 <!-- xmlXPathParserContextPtr accessors -->
103 <function name='xsltXPathParserGetContext' file='python_accessor'>
104 <info>Get the xpathContext from an xpathParserContext</info>
105 <return type='xmlXPathContextPtr' info="The XPath context" field="context"/>
106 <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath parser context'/>
107 </function>
108 <!-- xmlXPathContextPtr accessors -->
109 <function name='xsltXPathGetTransformContext' file='python_accessor'>
110 <info>Get the transformation context from an xpathContext</info>
111 <return type='xsltTransformContextPtr' info="The node context" field="extra"/>
112 <arg name='ctxt' type='xmlXPathContextPtr' info='the XPath context'/>
113 </function>
114 <!-- xsltTransformContextPtr accessors -->
115 <function name='xsltTransformGetStyle' file='python_accessor'>
116 <info>Get the stylesheet from a transformation</info>
117 <return type='xsltStylesheetPtr' info="The stylesheet" field="style"/>
118 <arg name='ctxt' type='xsltTransformContextPtr' info='the transformation context'/>
119 </function>
120 <function name='xsltTransformGetCurrent' file='python_accessor'>
121 <info>Get the current() node of a transformation</info>
122 <return type='xmlNodePtr' info="The node" field="node"/>
123 <arg name='ctxt' type='xsltTransformContextPtr' info='the transformation context'/>
124 </function>
125 <function name='xsltTransformGetOutputDoc' file='python_accessor'>
126 <info>Get the output document of a transformation</info>
127 <return type='xmlDocPtr' info="The output doc" field="output"/>
128 <arg name='ctxt' type='xsltTransformContextPtr' info='the transformation context'/>
129 </function>
130 <function name='xsltTransformGetOutputURI' file='python_accessor'>
131 <info>Get the output URI of a transformation if known</info>
132 <return type='const char *' info="The output URI" field="outputFile"/>
133 <arg name='ctxt' type='xsltTransformContextPtr' info='the transformation context'/>
134 </function>
135 <function name='xsltTransformGetInsertNode' file='python_accessor'>
136 <info>Get the insertion node in the output document</info>
137 <return type='xmlNodePtr' info="The insertion node" field="insert"/>
138 <arg name='ctxt' type='xsltTransformContextPtr' info='the transformation context'/>
139 </function>
140 <function name='xsltTransformGetInstruction' file='python_accessor'>
141 <info>Get the instruction node in the stylesheet</info>
142 <return type='xmlNodePtr' info="The instruction node" field="inst"/>
143 <arg name='ctxt' type='xsltTransformContextPtr' info='the transformation context'/>
144 </function>
145 <function name='xsltTransformGetMode' file='python_accessor'>
146 <info>Get the mode of a transformation</info>
147 <return type='const xmlChar *' info="The mode" field="mode"/>
148 <arg name='ctxt' type='xsltTransformContextPtr' info='the transformation context'/>
149 </function>
150 <function name='xsltTransformGetModeURI' file='python_accessor'>
151 <info>Get the mode URI of a transformation</info>
152 <return type='const xmlChar *' info="The mode URI" field="modeURI"/>
153 <arg name='ctxt' type='xsltTransformContextPtr' info='the transformation context'/>
154 </function>
155 <function name='xsltTransformGetContext' file='python_accessor'>
156 <info>Get the XPath context of a transformation</info>
157 <return type='xmlXPathContextPtr' info="The XPath context" field="xpathCtxt"/>
158 <arg name='ctxt' type='xsltTransformContextPtr' info='the transformation context'/>
159 </function>
160 <function name='xsltTransformGetPrivate' file='python_accessor'>
161 <info>Get the private field of a transformation</info>
162 <return type='pythonObject *' info="The private field" field="_private"/>
163 <arg name='ctxt' type='xsltTransformContextPtr' info='the transformation context'/>
164 </function>
165 <function name='xsltTransformSetPrivate' file='python_accessor'>
166 <info>Set the private field of a transformation</info>
167 <return type='void'/>
168 <arg name='ctxt' type='xsltTransformContextPtr' info='the transformation context'/>
169 <arg name='_private' type='pythonObject *' info='The private field'/>
170 </function>
171 <!-- xsltStylesheetPtr accessors -->
172 <function name='xsltStylesheetGetParent' file='python_accessor'>
173 <info>Get the parent of a stylesheet</info>
174 <return type='xsltStylesheetPtr' info="The parent" field="parent"/>
175 <arg name='style' type='xsltStylesheetPtr' info='the stylesheet'/>
176 </function>
177 <function name='xsltStylesheetGetNext' file='python_accessor'>
178 <info>Get the next sibling of a stylesheet</info>
179 <return type='xsltStylesheetPtr' info="The next sibling" field="next"/>
180 <arg name='style' type='xsltStylesheetPtr' info='the stylesheet'/>
181 </function>
182 <function name='xsltStylesheetGetImports' file='python_accessor'>
183 <info>Get the imports of a stylesheet</info>
184 <return type='xsltStylesheetPtr' info="The next sibling" field="imports"/>
185 <arg name='style' type='xsltStylesheetPtr' info='the stylesheet'/>
186 </function>
187 <function name='xsltStylesheetGetDoc' file='python_accessor'>
188 <info>Get the document of a stylesheet</info>
189 <return type='xmlDocPtr' info="The XML document" field="doc"/>
190 <arg name='style' type='xsltStylesheetPtr' info='the stylesheet'/>
191 </function>
192 <function name='xsltStylesheetGetMethod' file='python_accessor'>
193 <info>Get the output method of a stylesheet</info>
194 <return type='const xmlChar *' info="The output method" field="method"/>
195 <arg name='style' type='xsltStylesheetPtr' info='the stylesheet'/>
196 </function>
197 <function name='xsltStylesheetGetMethodURI' file='python_accessor'>
198 <info>Get the output method URI of a stylesheet</info>
199 <return type='const xmlChar *' info="The output method URI" field="methodURI"/>
200 <arg name='style' type='xsltStylesheetPtr' info='the stylesheet'/>
201 </function>
202 <function name='xsltStylesheetGetVersion' file='python_accessor'>
203 <info>Get the output version of a stylesheet</info>
204 <return type='const xmlChar *' info="The output version" field="version"/>
205 <arg name='style' type='xsltStylesheetPtr' info='the stylesheet'/>
206 </function>
207 <function name='xsltStylesheetGetEncoding' file='python_accessor'>
208 <info>Get the output encoding of a stylesheet</info>
209 <return type='const xmlChar *' info="The output encoding" field="encoding"/>
210 <arg name='style' type='xsltStylesheetPtr' info='the stylesheet'/>
211 </function>
212 <function name='xsltStylesheetGetDoctypePublic' file='python_accessor'>
213 <info>Get the output PUBLIC of a stylesheet</info>
214 <return type='const xmlChar *' info="The output PUBLIC" field="doctypePublic"/>
215 <arg name='style' type='xsltStylesheetPtr' info='the stylesheet'/>
216 </function>
217 <function name='xsltStylesheetGetDoctypeSystem' file='python_accessor'>
218 <info>Get the output SYSTEM of a stylesheet</info>
219 <return type='const xmlChar *' info="The output SYSTEM" field="doctypeSystem"/>
220 <arg name='style' type='xsltStylesheetPtr' info='the stylesheet'/>
221 </function>
222 <function name='xsltStylesheetGetPrivate' file='python_accessor'>
223 <info>Get the private field of a stylesheet</info>
224 <return type='pythonObject *' info="The private field" field="_private"/>
225 <arg name='style' type='xsltStylesheetPtr' info='the stylesheet'/>
226 </function>
227 <function name='xsltStylesheetSetPrivate' file='python_accessor'>
228 <info>Set the private field of a stylesheet</info>
229 <return type='void'/>
230 <arg name='style' type='xsltStylesheetPtr' info='the stylesheet'/>
231 <arg name='_private' type='pythonObject *' info='The private field'/>
232 </function>
233 </symbols>
234</api>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette