xsltInsert | R Documentation |
These functions allow us to directly insert
new nodes or content into the document
being created in an XSL transformation.
xsltInsert
inserts one or more
(internal) nodes directly into the document
as children of the currently active node.
xsltGetInsertNode
allows us to retrieve
a reference to the (internal) XML node that
is the current point of insertion in the XSL
transformation process.
We can then use other tools (e.g.
addChildren
) to add content to
that node or to navigate to a different
node in the tree and add content there.
xsltInsert(ctx, ..., .nodes = list(...))
xsltGetInsertNode(ctx)
ctx |
the |
... |
zero or more (internal/C-level) nodes which are to be inserted as
children of the currently active node in the
output document. Text is converted to |
.nodes |
the collection of nodes to insert as a |
NULL
Duncan Temple Lang
xsltContextFunction
xsltApplyStyleSheet
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.