ReactOS  0.4.14-dev-583-g2a1ba2c
transform.h
Go to the documentation of this file.
1 /*
2  * Summary: the XSLT engine transformation part.
3  * Description: This module implements the bulk of the actual
4  * transformation processing. Most of the xsl: element
5  * constructs are implemented in this module.
6  *
7  * Copy: See Copyright for the status of this software.
8  *
9  * Author: Daniel Veillard
10  */
11 
12 #ifndef __XML_XSLT_TRANSFORM_H__
13 #define __XML_XSLT_TRANSFORM_H__
14 
15 #include <libxml/parser.h>
16 #include <libxml/xmlIO.h>
17 #include "xsltexports.h"
18 #include <libxslt/xsltInternals.h>
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
28  xsltSetXIncludeDefault (int xinclude);
31 
37  xmlDocPtr doc);
38 
41 
44  xmlDocPtr doc,
45  const char **params,
46  const char *output,
47  FILE * profile,
48  xsltTransformContextPtr userCtxt);
61  xmlDocPtr doc,
62  const char **params);
65  xmlDocPtr doc,
66  const char **params,
67  FILE * output);
70  xmlDocPtr doc,
71  const char **params,
72  const char *output,
73  xmlSAXHandlerPtr SAX,
74  xmlOutputBufferPtr IObuf);
77  xmlDocPtr doc,
78  const char **params,
79  const char *output,
80  xmlSAXHandlerPtr SAX,
81  xmlOutputBufferPtr IObuf,
82  FILE * profile,
83  xsltTransformContextPtr userCtxt);
88  xsltTemplatePtr templ,
93  xmlNodePtr inst,
94  xsltElemPreCompPtr comp);
98  xmlNodePtr inst,
99  xsltElemPreCompPtr comp);
100 XSLTPUBFUN void XSLTCALL
103  xmlNodePtr inst,
104  xsltElemPreCompPtr comp);
105 XSLTPUBFUN void XSLTCALL
108  xmlNodePtr inst,
109  xsltElemPreCompPtr comp);
110 XSLTPUBFUN void XSLTCALL
113  xmlNodePtr inst,
114  xsltElemPreCompPtr comp);
115 XSLTPUBFUN void XSLTCALL
118  xmlNodePtr inst,
119  xsltElemPreCompPtr comp);
120 XSLTPUBFUN void XSLTCALL
123  xmlNodePtr inst,
124  xsltElemPreCompPtr comp);
125 XSLTPUBFUN void XSLTCALL
128  xmlNodePtr inst,
129  xsltElemPreCompPtr comp);
130 XSLTPUBFUN void XSLTCALL
133  xmlNodePtr inst,
134  xsltElemPreCompPtr comp);
135 XSLTPUBFUN void XSLTCALL
138  xmlNodePtr inst,
139  xsltElemPreCompPtr comp);
140 XSLTPUBFUN void XSLTCALL
143  xmlNodePtr inst,
144  xsltElemPreCompPtr comp);
145 XSLTPUBFUN void XSLTCALL
148  xmlNodePtr inst,
149  xsltElemPreCompPtr comp);
150 XSLTPUBFUN void XSLTCALL
153  xmlNodePtr inst,
154  xsltElemPreCompPtr comp);
155 XSLTPUBFUN void XSLTCALL
158  xmlNodePtr inst,
159  xsltElemPreCompPtr comp);
160 XSLTPUBFUN void XSLTCALL
163  xmlNodePtr inst,
164  xsltElemPreCompPtr comp);
165 XSLTPUBFUN void XSLTCALL
168  xmlNodePtr inst,
169  xsltElemPreCompPtr comp);
170 XSLTPUBFUN void XSLTCALL
173  xmlNodePtr inst,
174  xsltElemPreCompPtr comp);
175 XSLTPUBFUN void XSLTCALL
177 
181  const xmlChar *string,
182  int noescape);
183 
184 /* Following 2 functions needed for libexslt/functions.c */
185 XSLTPUBFUN void XSLTCALL
187  int limitNr,
188  int level);
192  int level);
193 /*
194  * Hook for the debugger if activated.
195  */
196 XSLTPUBFUN void XSLTCALL
199  xsltTemplatePtr templ,
201 
202 #ifdef __cplusplus
203 }
204 #endif
205 
206 #endif /* __XML_XSLT_TRANSFORM_H__ */
207 
XSLTPUBFUN void XSLTCALL xsltCallTemplate(xsltTransformContextPtr ctxt, xmlNodePtr node, xmlNodePtr inst, xsltElemPreCompPtr comp)
Definition: transform.c:4688
XSLTPUBFUN xmlNodePtr XSLTCALL xsltCopyTextString(xsltTransformContextPtr ctxt, xmlNodePtr target, const xmlChar *string, int noescape)
Definition: transform.c:846
GLint level
Definition: gl.h:1546
static UCHAR ULONG UCHAR ULONG UCHAR * output
Definition: bcrypt.c:29
XSLTPUBFUN void XSLTCALL xsltApplyStripSpaces(xsltTransformContextPtr ctxt, xmlNodePtr node)
Definition: transform.c:5681
XSLTPUBFUN void XSLTCALL xsltApplyOneTemplate(xsltTransformContextPtr ctxt, xmlNodePtr node, xmlNodePtr list, xsltTemplatePtr templ, xsltStackElemPtr params)
Definition: transform.c:3285
XSLTPUBFUN void XSLTCALL xsltCopy(xsltTransformContextPtr ctxt, xmlNodePtr node, xmlNodePtr inst, xsltElemPreCompPtr comp)
Definition: transform.c:3870
XSLTPUBFUN void XSLTCALL xsltFreeTransformContext(xsltTransformContextPtr ctxt)
Definition: transform.c:686
XSLTPUBFUN void XSLTCALL xsltElement(xsltTransformContextPtr ctxt, xmlNodePtr node, xmlNodePtr inst, xsltElemPreCompPtr comp)
Definition: transform.c:4026
XSLTPUBFUN void XSLTCALL xsltProcessingInstruction(xsltTransformContextPtr ctxt, xmlNodePtr node, xmlNodePtr inst, xsltElemPreCompPtr comp)
Definition: transform.c:4278
XSLTPUBFUN void XSLTCALL xsltText(xsltTransformContextPtr ctxt, xmlNodePtr node, xmlNodePtr inst, xsltElemPreCompPtr comp)
Definition: transform.c:3989
XSLTPUBFUN xmlDocPtr XSLTCALL xsltProfileStylesheet(xsltStylesheetPtr style, xmlDocPtr doc, const char **params, FILE *output)
Definition: transform.c:6223
XSLTPUBFUN void XSLTCALL xsltSetXIncludeDefault(int xinclude)
Definition: transform.c:421
XSLTPUBFUN xmlDocPtr XSLTCALL xsltApplyStylesheetUser(xsltStylesheetPtr style, xmlDocPtr doc, const char **params, const char *output, FILE *profile, xsltTransformContextPtr userCtxt)
Definition: transform.c:6247
XSLTPUBFUN int XSLTCALL xsltGetXIncludeDefault(void)
Definition: transform.c:433
XSLTPUBFUN void XSLTCALL xsltValueOf(xsltTransformContextPtr ctxt, xmlNodePtr node, xmlNodePtr inst, xsltElemPreCompPtr comp)
Definition: transform.c:4488
XSLTPUBFUN xmlDocPtr XSLTCALL xsltApplyStylesheet(xsltStylesheetPtr style, xmlDocPtr doc, const char **params)
Definition: transform.c:6204
XSLTPUBFUN void XSLTCALL xsltAttribute(xsltTransformContextPtr ctxt, xmlNodePtr node, xmlNodePtr inst, xsltElemPreCompPtr comp)
Definition: attributes.c:716
XSLTPUBFUN void XSLTCALL xslHandleDebugger(xmlNodePtr cur, xmlNodePtr node, xsltTemplatePtr templ, xsltTransformContextPtr ctxt)
Definition: xsltutils.c:2422
GLenum const GLfloat * params
Definition: glext.h:5645
XSLTPUBFUN void XSLTCALL xsltRegisterAllElement(xsltTransformContextPtr ctxt)
Definition: transform.c:6367
XSLTPUBFUN int XSLTCALL xsltLocalVariablePush(xsltTransformContextPtr ctxt, xsltStackElemPtr variable, int level)
Definition: transform.c:2222
XSLTPUBFUN void XSLTCALL xsltSort(xsltTransformContextPtr ctxt, xmlNodePtr node, xmlNodePtr inst, xsltElemPreCompPtr comp)
Definition: transform.c:3848
xmlOutputBuffer * xmlOutputBufferPtr
Definition: tree.h:32
XSLTPUBFUN void XSLTCALL xsltNumber(xsltTransformContextPtr ctxt, xmlNodePtr node, xmlNodePtr inst, xsltElemPreCompPtr comp)
Definition: transform.c:4562
XSLTPUBFUN void XSLTCALL xsltApplyImports(xsltTransformContextPtr ctxt, xmlNodePtr node, xmlNodePtr inst, xsltElemPreCompPtr comp)
Definition: transform.c:4619
XSLTPUBFUN int XSLTCALL xsltRunStylesheet(xsltStylesheetPtr style, xmlDocPtr doc, const char **params, const char *output, xmlSAXHandlerPtr SAX, xmlOutputBufferPtr IObuf)
Definition: transform.c:6346
GLenum GLenum variable
Definition: glext.h:9031
XSLTPUBFUN void XSLTCALL xsltApplyTemplates(xsltTransformContextPtr ctxt, xmlNodePtr node, xmlNodePtr inst, xsltElemPreCompPtr comp)
Definition: transform.c:4791
XSLTPUBFUN void XSLTCALL xsltCopyOf(xsltTransformContextPtr ctxt, xmlNodePtr node, xmlNodePtr inst, xsltElemPreCompPtr comp)
Definition: transform.c:4344
XSLTPUBFUN void XSLTCALL xsltIf(xsltTransformContextPtr ctxt, xmlNodePtr node, xmlNodePtr inst, xsltElemPreCompPtr comp)
Definition: transform.c:5327
Definition: tree.h:489
XSLTPUBFUN void XSLTCALL xsltForEach(xsltTransformContextPtr ctxt, xmlNodePtr node, xmlNodePtr inst, xsltElemPreCompPtr comp)
Definition: transform.c:5433
unsigned char xmlChar
Definition: xmlstring.h:28
Definition: _list.h:228
#define XSLTPUBFUN
Definition: xsltexports.h:31
XSLTPUBFUN void XSLTCALL xsltComment(xsltTransformContextPtr ctxt, xmlNodePtr node, xmlNodePtr inst, xsltElemPreCompPtr comp)
Definition: transform.c:4234
XSLTPUBFUN void XSLTCALL xsltProcessOneNode(xsltTransformContextPtr ctxt, xmlNodePtr node, xsltStackElemPtr params)
Definition: transform.c:2100
#define XSLTCALL
Definition: xsltexports.h:43
Definition: tree.h:551
XSLTPUBFUN void XSLTCALL xsltChoose(xsltTransformContextPtr ctxt, xmlNodePtr node, xmlNodePtr inst, xsltElemPreCompPtr comp)
Definition: transform.c:5168
GLenum target
Definition: glext.h:7315
#define profile
Definition: kernel32.h:12
XSLTPUBFUN void XSLTCALL xsltDocumentElem(xsltTransformContextPtr ctxt, xmlNodePtr node, xmlNodePtr inst, xsltElemPreCompPtr comp)
Definition: transform.c:3335
XSLTPUBFUN xsltTransformContextPtr XSLTCALL xsltNewTransformContext(xsltStylesheetPtr style, xmlDocPtr doc)
Definition: transform.c:532
Arabic default style
Definition: afstyles.h:93
XSLTPUBFUN int XSLTCALL xsltRunStylesheetUser(xsltStylesheetPtr style, xmlDocPtr doc, const char **params, const char *output, xmlSAXHandlerPtr SAX, xmlOutputBufferPtr IObuf, FILE *profile, xsltTransformContextPtr userCtxt)
Definition: transform.c:6285
XSLTPUBFUN void XSLTCALL xsltLocalVariablePop(xsltTransformContextPtr ctxt, int limitNr, int level)
Definition: transform.c:150
Definition: dlist.c:348