2 * Summary: interface for the template processing
3 * Description: This set of routine encapsulates XPath calls
4 * and Attribute Value Templates evaluation.
6 * Copy: See Copyright for the status of this software.
8 * Author: Daniel Veillard
11 #ifndef __XML_XSLT_TEMPLATES_H__
12 #define __XML_XSLT_TEMPLATES_H__
14 #include <libxml/xpath.h>
15 #include <libxml/xpathInternals.h>
16 #include "xsltexports.h"
17 #include "xsltInternals.h"
23 XSLTPUBFUN
int XSLTCALL
24 xsltEvalXPathPredicate (xsltTransformContextPtr ctxt
,
25 xmlXPathCompExprPtr comp
,
28 XSLTPUBFUN xmlChar
* XSLTCALL
29 xsltEvalTemplateString (xsltTransformContextPtr ctxt
,
30 xmlNodePtr contextNode
,
32 XSLTPUBFUN xmlChar
* XSLTCALL
33 xsltEvalAttrValueTemplate (xsltTransformContextPtr ctxt
,
37 XSLTPUBFUN
const xmlChar
* XSLTCALL
38 xsltEvalStaticAttrValueTemplate (xsltStylesheetPtr style
,
44 /* TODO: this is obviously broken ... the namespaces should be passed too ! */
45 XSLTPUBFUN xmlChar
* XSLTCALL
46 xsltEvalXPathString (xsltTransformContextPtr ctxt
,
47 xmlXPathCompExprPtr comp
);
48 XSLTPUBFUN xmlChar
* XSLTCALL
49 xsltEvalXPathStringNs (xsltTransformContextPtr ctxt
,
50 xmlXPathCompExprPtr comp
,
54 XSLTPUBFUN xmlNodePtr
* XSLTCALL
55 xsltTemplateProcess (xsltTransformContextPtr ctxt
,
57 XSLTPUBFUN xmlAttrPtr XSLTCALL
58 xsltAttrListTemplateProcess (xsltTransformContextPtr ctxt
,
61 XSLTPUBFUN xmlAttrPtr XSLTCALL
62 xsltAttrTemplateProcess (xsltTransformContextPtr ctxt
,
65 XSLTPUBFUN xmlChar
* XSLTCALL
66 xsltAttrTemplateValueProcess (xsltTransformContextPtr ctxt
,
68 XSLTPUBFUN xmlChar
* XSLTCALL
69 xsltAttrTemplateValueProcessNode(xsltTransformContextPtr ctxt
,
76 #endif /* __XML_XSLT_TEMPLATES_H__ */