Mega Code Archive
The self axis selects the context node
The unabbreviated syntax for the selfaxis is as follows:
self::node()
The abbreviated syntax for the context node is the period character.
To select the value of the context node using the xsl:value-of element, you would write the following:
The unabbreviated syntax is as follows:
File: Data.xml
C++
Java
File: Transform.xslt
Self for
Output:
Self for