ReactOS  0.4.14-dev-552-g2fad488
pattern.h
Go to the documentation of this file.
1 /*
2  * Summary: interface for the pattern matching used in template matches.
3  * Description: the implementation of the lookup of the right template
4  * for a given node must be really fast in order to keep
5  * decent performances.
6  *
7  * Copy: See Copyright for the status of this software.
8  *
9  * Author: Daniel Veillard
10  */
11 
12 #ifndef __XML_XSLT_PATTERN_H__
13 #define __XML_XSLT_PATTERN_H__
14 
15 #include "xsltInternals.h"
16 #include "xsltexports.h"
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
30 
31 /*
32  * Pattern related interfaces.
33  */
34 
37  xmlDocPtr doc,
40  xsltTransformContextPtr runtime);
46  xsltCompMatchPtr comp);
48  xsltNormalizeCompSteps (void *payload,
49  void *data,
50  const xmlChar *name);
51 
52 /*
53  * Template related interfaces.
54  */
57  xsltTemplatePtr cur,
58  const xmlChar *mode,
59  const xmlChar *modeURI);
68 
69 #if 0
70 int xsltMatchPattern (xsltTransformContextPtr ctxt,
72  const xmlChar *pattern,
73  xmlDocPtr ctxtdoc,
74  xmlNodePtr ctxtnode);
75 #endif
76 #ifdef __cplusplus
77 }
78 #endif
79 
80 #endif /* __XML_XSLT_PATTERN_H__ */
81 
XSLTPUBFUN void XSLTCALL xsltFreeCompMatchList(xsltCompMatchPtr comp)
Definition: pattern.c:193
XSLTPUBFUN void XSLTCALL xsltCleanupTemplates(xsltStylesheetPtr style)
Definition: pattern.c:2563
XSLTPUBFUN xsltCompMatchPtr XSLTCALL xsltCompilePattern(const xmlChar *pattern, xmlDocPtr doc, xmlNodePtr node, xsltStylesheetPtr style, xsltTransformContextPtr runtime)
Definition: pattern.c:2061
XSLTPUBFUN void XSLTCALL xsltFreeTemplateHashes(xsltStylesheetPtr style)
Definition: pattern.c:2573
const xmlChar * modeURI
Definition: pattern.c:86
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
xsltCompMatch * xsltCompMatchPtr
Definition: pattern.h:29
Definition: tree.h:489
unsigned char xmlChar
Definition: xmlstring.h:28
XSLTPUBFUN xsltTemplatePtr XSLTCALL xsltGetTemplate(xsltTransformContextPtr ctxt, xmlNodePtr node, xsltStylesheetPtr style)
Definition: pattern.c:2318
GLenum mode
Definition: glext.h:6217
#define XSLTPUBFUN
Definition: xsltexports.h:31
XSLTPUBFUN int XSLTCALL xsltTestCompMatchList(xsltTransformContextPtr ctxt, xmlNodePtr node, xsltCompMatchPtr comp)
Definition: pattern.c:1220
#define XSLTCALL
Definition: xsltexports.h:43
Definition: tree.h:551
Definition: name.c:38
Arabic default style
Definition: afstyles.h:93
XSLTPUBFUN void XSLTCALL xsltNormalizeCompSteps(void *payload, void *data, const xmlChar *name)
XSLTPUBFUN int XSLTCALL xsltAddTemplate(xsltStylesheetPtr style, xsltTemplatePtr cur, const xmlChar *mode, const xmlChar *modeURI)
Definition: pattern.c:2085
GLubyte * pattern
Definition: glext.h:7787
Definition: dlist.c:348