Gnome XSLT Library Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
#define XSLT_REGISTER_VARIABLE_LOOKUP(ctxt) |
Registering macro, not general purpose at all but used in different modules.
int xsltEvalGlobalVariables (xsltTransformContextPtr ctxt); |
Evaluate the global variables of a stylesheet. This need to be done on parsed stylesheets before starting to apply transformations
int xsltEvalUserParams (xsltTransformContextPtr ctxt, const char **params); |
ctxt: the XSLT transformation context params: a NULL terminated array of parameters name/value tuples
Evaluate the global variables of a stylesheet. This needs to be done on parsed stylesheets before starting to apply transformations. Each of the parameters is evaluated as an XPath expression and stored in the global variables/parameter hash table. If you want your parameter used literally, use xsltQuoteUserParams.
int xsltQuoteUserParams (xsltTransformContextPtr ctxt, const char **params); |
ctxt: the XSLT transformation context params: a NULL terminated arry of parameters names/values tuples
Similar to xsltEvalUserParams, but the values are treated literally and are * *not* evaluated as XPath expressions. This should be done on parsed stylesheets before starting to apply transformations.
int xsltEvalOneUserParam (xsltTransformContextPtr ctxt, const |
ctxt: the XSLT transformation context name: a null terminated string giving the name of the parameter value a null terminated string giving the XPath expression to be evaluated
This is normally called from xsltEvalUserParams to process a single parameter from a list of parameters. The value is evaluated as an XPath expression and the result is stored in the context's global variable/parameter hash table.
To have a parameter treated literally (not as an XPath expression) use xsltQuoteUserParams (or xsltQuoteOneUserParam). For more details see description of xsltProcessOneUserParamInternal.
int xsltQuoteOneUserParam (xsltTransformContextPtr ctxt, const |
ctxt: the XSLT transformation context name: a null terminated string giving the name of the parameter value a null terminated string giving the parameter value
This is normally called from xsltQuoteUserParams to process a single parameter from a list of parameters. The value is stored in the context's global variable/parameter hash table.
void xsltParseGlobalVariable (xsltStylesheetPtr style, |
parse an XSLT transformation variable declaration and record its value.
void xsltParseGlobalParam (xsltStylesheetPtr style, |
parse an XSLT transformation param declaration and record its value.
void xsltParseStylesheetVariable (xsltTransformContextPtr ctxt, |
parse an XSLT transformation variable declaration and record its value.
void xsltParseStylesheetParam (xsltTransformContextPtr ctxt, |
parse an XSLT transformation param declaration and record its value.
xsltStackElemPtr xsltParseStylesheetCallerParam (xsltTransformContextPtr ctxt, |
parse an XSLT transformation param declaration, compute its value but doesn't record it.
It returns the new xsltStackElemPtr or NULL
int xsltAddStackElemList (xsltTransformContextPtr ctxt, xsltStackElemPtr elems); |
add the new element list at this level of the stack.
void xsltFreeGlobalVariables (xsltTransformContextPtr ctxt); |
Free up the data associated to the global variables its value.
|
Search in the Variable array of the context for the given variable value.