ReactOS 0.4.15-dev-8116-gf69e256
variables.h
Go to the documentation of this file.
1/*
2 * Summary: interface for the variable matching and lookup.
3 * Description: interface for the variable matching and lookup.
4 *
5 * Copy: See Copyright for the status of this software.
6 *
7 * Author: Daniel Veillard
8 */
9
10#ifndef __XML_XSLT_VARIABLES_H__
11#define __XML_XSLT_VARIABLES_H__
12
13#include <libxml/xpath.h>
15#include "xsltexports.h"
16#include "xsltInternals.h"
17#include "functions.h"
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23
30#define XSLT_REGISTER_VARIABLE_LOOKUP(ctxt) \
31 xmlXPathRegisterVariableLookup((ctxt)->xpathCtxt, \
32 xsltXPathVariableLookup, (void *)(ctxt)); \
33 xsltRegisterAllFunctions((ctxt)->xpathCtxt); \
34 xsltRegisterAllElement(ctxt); \
35 (ctxt)->xpathCtxt->extra = ctxt
36
37/*
38 * Flags for memory management of RVTs
39 */
40
46#define XSLT_RVT_LOCAL ((void *)1)
47
55#define XSLT_RVT_FUNC_RESULT ((void *)2)
56
62#define XSLT_RVT_GLOBAL ((void *)3)
63
64/*
65 * Interfaces for the variable module.
66 */
67
72 const char **params);
75 const char **params);
78 const xmlChar * name,
79 const xmlChar * value);
82 const xmlChar * name,
83 const xmlChar * value);
84
102 xsltStackElemPtr elems);
105XSLTPUBFUN xmlXPathObjectPtr XSLTCALL
107 const xmlChar *name,
108 const xmlChar *ns_uri);
109XSLTPUBFUN xmlXPathObjectPtr XSLTCALL
110 xsltXPathVariableLookup (void *ctxt,
111 const xmlChar *name,
112 const xmlChar *ns_uri);
113#ifdef __cplusplus
114}
115#endif
116
117#endif /* __XML_XSLT_VARIABLES_H__ */
118
Arabic default style
Definition: afstyles.h:94
FxCollectionEntry * cur
GLenum const GLfloat * params
Definition: glext.h:5645
Definition: tree.h:489
Definition: name.c:39
Definition: pdh_main.c:94
XSLTPUBFUN void XSLTCALL xsltParseGlobalParam(xsltStylesheetPtr style, xmlNodePtr cur)
Definition: variables.c:2087
XSLTPUBFUN int XSLTCALL xsltEvalUserParams(xsltTransformContextPtr ctxt, const char **params)
Definition: variables.c:1662
XSLTPUBFUN int XSLTCALL xsltEvalOneUserParam(xsltTransformContextPtr ctxt, const xmlChar *name, const xmlChar *value)
Definition: variables.c:1727
XSLTPUBFUN void XSLTCALL xsltParseStylesheetVariable(xsltTransformContextPtr ctxt, xmlNodePtr cur)
Definition: variables.c:2149
XSLTPUBFUN void XSLTCALL xsltParseStylesheetParam(xsltTransformContextPtr ctxt, xmlNodePtr cur)
Definition: variables.c:2191
XSLTPUBFUN int XSLTCALL xsltQuoteUserParams(xsltTransformContextPtr ctxt, const char **params)
Definition: variables.c:1692
XSLTPUBFUN xsltStackElemPtr XSLTCALL xsltParseStylesheetCallerParam(xsltTransformContextPtr ctxt, xmlNodePtr cur)
Definition: variables.c:1962
XSLTPUBFUN void XSLTCALL xsltParseGlobalVariable(xsltStylesheetPtr style, xmlNodePtr cur)
Definition: variables.c:2024
XSLTPUBFUN void XSLTCALL xsltFreeGlobalVariables(xsltTransformContextPtr ctxt)
Definition: variables.c:2227
XSLTPUBFUN int XSLTCALL xsltEvalGlobalVariables(xsltTransformContextPtr ctxt)
Definition: variables.c:1260
XSLTPUBFUN xmlXPathObjectPtr XSLTCALL xsltXPathVariableLookup(void *ctxt, const xmlChar *name, const xmlChar *ns_uri)
Definition: variables.c:2243
XSLTPUBFUN xmlXPathObjectPtr XSLTCALL xsltVariableLookup(xsltTransformContextPtr ctxt, const xmlChar *name, const xmlChar *ns_uri)
Definition: variables.c:1920
XSLTPUBFUN int XSLTCALL xsltAddStackElemList(xsltTransformContextPtr ctxt, xsltStackElemPtr elems)
Definition: variables.c:777
XSLTPUBFUN int XSLTCALL xsltQuoteOneUserParam(xsltTransformContextPtr ctxt, const xmlChar *name, const xmlChar *value)
Definition: variables.c:1748
unsigned char xmlChar
Definition: xmlstring.h:28
#define XSLTCALL
Definition: xsltexports.h:39
#define XSLTPUBFUN
Definition: xsltexports.h:48