xsltGetXMLSourceNode: Get the active nodes in the XSL process

Description Usage Arguments Value Author(s) See Also

View source: R/context.R

Description

These functions allow us to query the currently active nodes being processed in the XSL transformation. We can get the node in the XML document that is being transformed and also the node in the XSL transformation that is performing the transformation.

Usage

1

Arguments

context

an object of class XMLXPathParserContext which can only be (legitimately) obtained as the first argument in a call from XSL to an R function which inherits from the S3 class XSLTContextFunction.

Value

An object of class XMLInternalNode.

These objects should not be stored after the function returns. They may/will be garbage collected at some point in the future and become invalid.

Author(s)

Duncan Temple Lang

See Also

registerXSLFunction XSLTContextFunction


sckott/sxslt documentation built on May 26, 2017, 3:49 a.m.