ReactOS 0.4.16-dev-334-g4d9f67c
|
Go to the source code of this file.
Functions | |
int | xsltEvalXPathPredicate (xsltTransformContextPtr ctxt, xmlXPathCompExprPtr comp, xmlNsPtr *nsList, int nsNr) |
xmlChar * | xsltEvalXPathStringNs (xsltTransformContextPtr ctxt, xmlXPathCompExprPtr comp, int nsNr, xmlNsPtr *nsList) |
xmlChar * | xsltEvalXPathString (xsltTransformContextPtr ctxt, xmlXPathCompExprPtr comp) |
xmlChar * | xsltEvalTemplateString (xsltTransformContextPtr ctxt, xmlNodePtr contextNode, xmlNodePtr inst) |
xmlChar * | xsltAttrTemplateValueProcessNode (xsltTransformContextPtr ctxt, const xmlChar *str, xmlNodePtr inst) |
xmlChar * | xsltAttrTemplateValueProcess (xsltTransformContextPtr ctxt, const xmlChar *str) |
: the attribute QName | |
xsltEvalAttrValueTemplate: @ctxt: the XSLT transformation context @inst: the instruction (or LRE) in the stylesheet holding the attribute with an AVT @ns: the attribute namespace URI 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. Returns the computed string value or NULL, must be deallocated by the caller. | |
xmlChar * | xsltEvalAttrValueTemplate (xsltTransformContextPtr ctxt, xmlNodePtr inst, const xmlChar *name, const xmlChar *ns) |
: the attribute Name | |
xsltEvalStaticAttrValueTemplate: @style: the XSLT stylesheet @inst: the instruction (or LRE) in the stylesheet holding the attribute with an AVT @ns: the attribute namespace URI @found: indicator whether the attribute is present Check if an attribute value template has a static value, i.e. the attribute value does not contain expressions contained in curly braces ({}) Returns the static string value or NULL, must be deallocated by the caller. | |
const xmlChar * | xsltEvalStaticAttrValueTemplate (xsltStylesheetPtr style, xmlNodePtr inst, const xmlChar *name, const xmlChar *ns, int *found) |
xmlAttrPtr | xsltAttrTemplateProcess (xsltTransformContextPtr ctxt, xmlNodePtr target, xmlAttrPtr attr) |
xmlAttrPtr | xsltAttrListTemplateProcess (xsltTransformContextPtr ctxt, xmlNodePtr target, xmlAttrPtr attrs) |
xmlNodePtr * | xsltTemplateProcess (xsltTransformContextPtr ctxt ATTRIBUTE_UNUSED, xmlNodePtr node) |
xmlAttrPtr xsltAttrListTemplateProcess | ( | xsltTransformContextPtr | ctxt, |
xmlNodePtr | target, | ||
xmlAttrPtr | attrs | ||
) |
xsltAttrListTemplateProcess: @ctxt: the XSLT transformation context @target: the element where the attributes will be grafted @attrs: the first attribute
Processes all attributes of a Literal Result Element. Attribute references are applied via xsl:use-attribute-set attributes. Copies all non XSLT-attributes over to the @target element and evaluates Attribute Value Templates.
Called by xsltApplySequenceConstructor() (transform.c).
Returns a new list of attribute nodes, or NULL in case of error. (Don't assign the result to @target->properties; if the result is NULL, you'll get memory leaks, since the attributes will be disattached.)
Definition at line 635 of file templates.c.
Referenced by xsltApplySequenceConstructor().
xmlAttrPtr xsltAttrTemplateProcess | ( | xsltTransformContextPtr | ctxt, |
xmlNodePtr | target, | ||
xmlAttrPtr | attr | ||
) |
xsltAttrTemplateProcess: @ctxt: the XSLT transformation context @target: the element where the attribute will be grafted @attr: the attribute node of a literal result element
Process one attribute of a Literal Result Element (in the stylesheet). Evaluates Attribute Value Templates and copies the attribute over to the result element. This does not process attribute sets (xsl:use-attribute-set).
Returns the generated attribute node.
Definition at line 479 of file templates.c.
xmlChar * xsltAttrTemplateValueProcess | ( | xsltTransformContextPtr | ctxt, |
const xmlChar * | str | ||
) |
xsltAttrTemplateValueProcess: @ctxt: the XSLT transformation context @str: the attribute template node value
Process the given node and return the new string value.
Returns the computed string value or NULL, must be deallocated by the caller.
Definition at line 372 of file templates.c.
xmlChar * xsltAttrTemplateValueProcessNode | ( | xsltTransformContextPtr | ctxt, |
const xmlChar * | str, | ||
xmlNodePtr | inst | ||
) |
xsltAttrTemplateValueProcessNode: @ctxt: the XSLT transformation context @str: the attribute template node value @inst: the instruction (or LRE) in the stylesheet holding the attribute with an AVT
Process the given string, allowing to pass a namespace mapping context and return the new string value.
Called by:
QUESTION: Why is this function public? It is not used outside of templates.c.
Returns the computed string value or NULL, must be deallocated by the caller.
Definition at line 260 of file templates.c.
Referenced by xsltAttrTemplateValueProcess(), and xsltEvalAttrValueTemplate().
xmlChar * xsltEvalAttrValueTemplate | ( | xsltTransformContextPtr | ctxt, |
xmlNodePtr | inst, | ||
const xmlChar * | name, | ||
const xmlChar * | ns | ||
) |
Definition at line 392 of file templates.c.
Referenced by xsltAttribute(), xsltDefaultSortFunction(), xsltDocumentElem(), xsltElement(), xsltNumberFormat(), and xsltProcessingInstruction().
const xmlChar * xsltEvalStaticAttrValueTemplate | ( | xsltStylesheetPtr | style, |
xmlNodePtr | inst, | ||
const xmlChar * | name, | ||
const xmlChar * | ns, | ||
int * | found | ||
) |
Definition at line 438 of file templates.c.
Referenced by xsltAttributeComp(), xsltDocumentComp(), xsltElementComp(), xsltNumberComp(), xsltProcessingInstructionComp(), and xsltSortComp().
xmlChar * xsltEvalTemplateString | ( | xsltTransformContextPtr | ctxt, |
xmlNodePtr | contextNode, | ||
xmlNodePtr | inst | ||
) |
xsltEvalTemplateString: @ctxt: the XSLT transformation context @contextNode: the current node in the source tree @inst: the XSLT instruction (xsl:comment, xsl:processing-instruction)
Processes the sequence constructor of the given instruction on @contextNode and converts the resulting tree to a string. This is needed by e.g. xsl:comment and xsl:processing-instruction.
Returns the computed string value or NULL; it's up to the caller to free the result.
Definition at line 189 of file templates.c.
Referenced by xsltAttribute(), xsltComment(), xsltMessage(), and xsltProcessingInstruction().
int xsltEvalXPathPredicate | ( | xsltTransformContextPtr | ctxt, |
xmlXPathCompExprPtr | comp, | ||
xmlNsPtr * | nsList, | ||
int | nsNr | ||
) |
xsltEvalXPathPredicate: @ctxt: the XSLT transformation context @comp: the XPath compiled expression @nsList: the namespaces in scope @nsNr: the number of namespaces in scope
Process the expression using XPath and evaluate the result as an XPath predicate
Returns 1 is the predicate was true, 0 otherwise
Definition at line 39 of file templates.c.
Referenced by xsltTestPredicateMatch().
xmlChar * xsltEvalXPathString | ( | xsltTransformContextPtr | ctxt, |
xmlXPathCompExprPtr | comp | ||
) |
xsltEvalXPathString: @ctxt: the XSLT transformation context @comp: the compiled XPath expression
Process the expression using XPath and get a string
Returns the computed string value or NULL, must be deallocated by the caller.
Definition at line 171 of file templates.c.
Referenced by xsltDocumentElem().
xmlChar * xsltEvalXPathStringNs | ( | xsltTransformContextPtr | ctxt, |
xmlXPathCompExprPtr | comp, | ||
int | nsNr, | ||
xmlNsPtr * | nsList | ||
) |
xsltEvalXPathStringNs: @ctxt: the XSLT transformation context @comp: the compiled XPath expression @nsNr: the number of namespaces in the list @nsList: the list of in-scope namespaces to use
Process the expression using XPath, allowing to pass a namespace mapping context and get a string
Returns the computed string value or NULL, must be deallocated by the caller.
Definition at line 105 of file templates.c.
Referenced by xsltAttrTemplateValueProcessNode(), xsltEvalAVT(), and xsltEvalXPathString().
xmlNodePtr * xsltTemplateProcess | ( | xsltTransformContextPtr ctxt | ATTRIBUTE_UNUSED, |
xmlNodePtr | node | ||
) |
xsltTemplateProcess: @ctxt: the XSLT transformation context @node: the attribute template node
Obsolete. Don't use it.
Returns NULL.
Definition at line 847 of file templates.c.