Gnome XSLT Library Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
int xsltEvalXPathPredicate (xsltTransformContextPtr ctxt, const |
int xsltEvalXPathPredicate (xsltTransformContextPtr ctxt, const |
Process the expression using XPath and evaluate the result as an XPath predicate
ctxt : | the XSLT transformation context |
expr : | |
Returns : | 1 is the predicate was true, 0 otherwise |
|
Evaluate a template string value, i.e. the parent list is interpreter as template content and the resulting tree string value is returned This is needed for example by xsl:comment and xsl:processing-instruction
ctxt : | the XSLT transformation context |
node : | the stylesheet node |
parent : | the content parent |
Returns : | the computed string value or NULL, must be deallocated by the caller. |
|
Evaluate a attribute value template, i.e. the attribute value can contain expressions contained in curly braces ({}) and those are substituted by they computed value.
ctxt : | the XSLT transformation context |
node : | the stylesheet node |
name : | the attribute QName |
Returns : | the computed string value or NULL, must be deallocated by the caller. |
|
Process the expression using XPath and get a string
ctxt : | the XSLT transformation context |
expr : | |
Returns : | the computed string value or NULL, must be deallocated by the caller. |
|
Process the given node and return the new string value.
ctxt : | the XSLT transformation context |
node : | the attribute template node |
Returns : | the computed tree replacement |
|
Do a copy of an attribute list with attribute template processing
ctxt : | the XSLT transformation context |
target : | the element where the attributes will be grafted |
cur : | the first attribute |
Returns : | a new xmlAttrPtr, or NULL in case of error. |
|
Process the given attribute and return the new processed copy.
ctxt : | the XSLT transformation context |
target : | the result node |
attr : | |
Returns : | the attribute replacement. |
|
Process the given node and return the new string value.
ctxt : | the XSLT transformation context |
attr : | |
Returns : | the computed string value or NULL, must be deallocated by the caller. |