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
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.
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
the collection of nodes to insert as a
Duncan Temple Lang
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.