ReactOS  0.4.15-dev-489-g75a0787
templates.h
Go to the documentation of this file.
1 /*
2  * Summary: interface for the template processing
3  * Description: This set of routine encapsulates XPath calls
4  * and Attribute Value Templates evaluation.
5  *
6  * Copy: See Copyright for the status of this software.
7  *
8  * Author: Daniel Veillard
9  */
10 
11 #ifndef __XML_XSLT_TEMPLATES_H__
12 #define __XML_XSLT_TEMPLATES_H__
13 
14 #include <libxml/xpath.h>
15 #include <libxml/xpathInternals.h>
16 #include "xsltexports.h"
17 #include "xsltInternals.h"
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
25  xmlXPathCompExprPtr comp,
26  xmlNsPtr *nsList,
27  int nsNr);
30  xmlNodePtr contextNode,
31  xmlNodePtr inst);
35  const xmlChar *name,
36  const xmlChar *ns);
40  const xmlChar *name,
41  const xmlChar *ns,
42  int *found);
43 
44 /* TODO: this is obviously broken ... the namespaces should be passed too ! */
47  xmlXPathCompExprPtr comp);
50  xmlXPathCompExprPtr comp,
51  int nsNr,
52  xmlNsPtr *nsList);
53 
60  xmlAttrPtr cur);
67  const xmlChar* attr);
70  const xmlChar* str,
72 #ifdef __cplusplus
73 }
74 #endif
75 
76 #endif /* __XML_XSLT_TEMPLATES_H__ */
77 
XSLTPUBFUN xmlChar *XSLTCALL xsltEvalTemplateString(xsltTransformContextPtr ctxt, xmlNodePtr contextNode, xmlNodePtr inst)
Definition: templates.c:189
Definition: tree.h:389
XSLTPUBFUN xmlChar *XSLTCALL xsltEvalXPathStringNs(xsltTransformContextPtr ctxt, xmlXPathCompExprPtr comp, int nsNr, xmlNsPtr *nsList)
Definition: templates.c:105
XSLTPUBFUN const xmlChar *XSLTCALL xsltEvalStaticAttrValueTemplate(xsltStylesheetPtr style, xmlNodePtr node, const xmlChar *name, const xmlChar *ns, int *found)
Definition: templates.c:430
XSLTPUBFUN xmlAttrPtr XSLTCALL xsltAttrTemplateProcess(xsltTransformContextPtr ctxt, xmlNodePtr target, xmlAttrPtr attr)
Definition: templates.c:471
XSLTPUBFUN xmlChar *XSLTCALL xsltAttrTemplateValueProcess(xsltTransformContextPtr ctxt, const xmlChar *attr)
Definition: templates.c:364
XSLTPUBFUN xmlChar *XSLTCALL xsltAttrTemplateValueProcessNode(xsltTransformContextPtr ctxt, const xmlChar *str, xmlNodePtr node)
Definition: templates.c:252
XSLTPUBFUN int XSLTCALL xsltEvalXPathPredicate(xsltTransformContextPtr ctxt, xmlXPathCompExprPtr comp, xmlNsPtr *nsList, int nsNr)
Definition: templates.c:39
const WCHAR * str
XSLTPUBFUN xmlChar *XSLTCALL xsltEvalXPathString(xsltTransformContextPtr ctxt, xmlXPathCompExprPtr comp)
Definition: templates.c:171
Definition: cookie.c:201
XSLTPUBFUN xmlNodePtr *XSLTCALL xsltTemplateProcess(xsltTransformContextPtr ctxt, xmlNodePtr node)
Definition: templates.c:839
Definition: tree.h:489
Definition: mxnamespace.c:44
unsigned char xmlChar
Definition: xmlstring.h:28
#define XSLTPUBFUN
Definition: xsltexports.h:31
#define XSLTCALL
Definition: xsltexports.h:43
Definition: tree.h:434
Definition: name.c:38
XSLTPUBFUN xmlChar *XSLTCALL xsltEvalAttrValueTemplate(xsltTransformContextPtr ctxt, xmlNodePtr node, const xmlChar *name, const xmlChar *ns)
Definition: templates.c:384
GLenum target
Definition: glext.h:7315
Arabic default style
Definition: afstyles.h:93
XSLTPUBFUN xmlAttrPtr XSLTCALL xsltAttrListTemplateProcess(xsltTransformContextPtr ctxt, xmlNodePtr target, xmlAttrPtr cur)
Definition: templates.c:627
Definition: dlist.c:348