Implicit templates overview (2)

  • "Copy text nodes and attributes" into the result tree fragment:

<xsl:template match="text()|@*">
    <xsl:value-of select="."/>
<xsl:template> 
  • "Ignore PIs and comments":

<xsl:template match="processing-instruction()|comment()" />