|
Home > Online Product Documentation > Table of Contents > Obtaining the Current Node for the Current XSLT Template Obtaining the Current Node for the Current XSLT Template
In a stylesheet, the current node is the node for which the XSLT processor instantiates a template. When the XPath processor evaluates an expression during stylesheet processing, the initial context node for the expression is set to the current node for the stylesheet instruction that contains the expression. Because the context node can change during evaluation of subexpressions, it is useful to be able to retrieve, from within a subexpression, the original context node for which the expression is being evaluated. You can use the
The
For example, the following stylesheet causes the XSLT processor to pass the
The
The
Suppose the
In a query, the dot specifies the context node. This query would return a
You can nest
|
Learn XSLT and XQuery Profiling
Stylus Studio's Profiler can help you evaluate the performance of your XQuery and XSLT. Automatically generated, customizable, easy-to-read HTML reports provide insight into performance bottlenecks.
Create XML Schema from XML Content
Create XML Schema from XML Content by auto-generating an XML Schema with Stylus Studio.
XPath Editor
Stylus Studio's intelligent code-sensing, auto-completion technology, Sense:X, is XPath-aware. You'll find Sense:X for XPath in all of Stylus Studio's editors, including the XML Editor, XSLT Editor, and XQuery Editor.
Translating XML documents to X12
In-place, via XSLT and via XQuery are all mechanisms supported for converting XML to X12


