XML technologies / XSLT / Introduction to XSLT 2.0 / Getting started with XSLT and XPath / Structure controls processing / Default rules for element and document nodes
(Excerpt from "XSLT 2.0 & XPath 2.0" by Frank Bongers, Chapter 1.)
The default template rules for elements and the document node are neutral. They are transparent for the node being processed and produce no content. Processing simply continues with any child nodes.
This is done by the embedded instruction xsl:apply-templates:
<xsl:template match="*|/">
<xsl:apply-templates/>
</xsl:template>
Note that the attributes of elements skipped in this way are not processed in this context.
Copyright © Galileo Press, Bonn 2008
You may print the online version for your private use.
Otherwise, this chapter from "XSLT 2.0 & XPath 2.0 ― Das umfassende Handbuch" is subject to the same terms as the printed edition: the work and all its parts are protected by copyright. All rights are reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
Galileo Press, Rheinwerkallee 4, 53227 Bonn