Bug 5917 : Converted templates
[koha.git] / koha-tt / intranet-tmpl / prog / en / xslt / identity.xsl
1 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
2   <!-- identity transformation -->
3   <!-- Whenever you match any node or any attribute -->
4   <xsl:template match="node()|@*">
5     <!-- Copy the current node -->
6     <xsl:copy>
7       <!-- Including any attributes it has and any child nodes -->
8       <xsl:apply-templates select="@*|node()"/>
9     </xsl:copy>
10   </xsl:template>
11 </xsl:stylesheet>