XML technologies / XSLT / Introduction to XSLT 2.0 / Getting started with XSLT and XPath / Structure controls processing / Default rule for namespace nodes

(Excerpt from "XSLT 2.0 & XPath 2.0" by Frank Bongers, Chapter 1.)

Namespace nodes, if offered for processing at all, are not processed either. Here too there is effectively an empty default template rule:

<xsl:template match="namespace()"/>

This template rule is rarely needed because namespace nodes, like attribute nodes, occur only on their own axis (moreover, the namespace axis was officially removed in XPath 2.0 and XQuery 1.0).

   

back to top