|
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
|
IATA Standards Available Across All Versions
The complete IATA Standards Grid, showing all IATA EDI versions across the top, and the catalog of messages types down the left-hand side.
SQL/XML Tutorial
Many developers need to be able to write applications that work for databases from multiple vendors. This SQL/XML Tutorial refers to SQL/XML, XQuery, and Native XML Programming Languages to do just that.
Stylus Studio's Advanced XQuery Mapper Features
Learn how to create an advanced XQuery expression in the XQuery mapper, specifying operations, constants, and ports, for use in conditional blocks and FLWR expressions. Free online video demonstration!
XML Schema Validation
Validate XML using XML Schema with MSXML, XERCES, XSV, SYSTEM.XML, & other XSD Validators. Stylus Studio's XML Schema-Aware XML Editing makes XML Schema Validation a snap!