<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
   <xsl:output method="html"/>

<!-- For simple examples, we usually want most of the document
     passed through unchanged. This is the standard "identity"
     transformation to do that. -->
  <xsl:template match="@*|node()" priority="-1"><tracexsl:text xmlns:tracexsl="http://www.w3.org/1999/XSL/Transform" xml:space="preserve">
</tracexsl:text><tracexsl:comment xmlns:tracexsl="http://www.w3.org/1999/XSL/Transform">[TraceXSL Begin] match="@*|node()"</tracexsl:comment><tracexsl:text xmlns:tracexsl="http://www.w3.org/1999/XSL/Transform" xml:space="preserve">
</tracexsl:text>
    <xsl:copy>
      <xsl:apply-templates select="@*|node()"/>
    </xsl:copy>
  <tracexsl:text xmlns:tracexsl="http://www.w3.org/1999/XSL/Transform" xml:space="preserve">
</tracexsl:text><tracexsl:comment xmlns:tracexsl="http://www.w3.org/1999/XSL/Transform">[TraceXSL END] match="@*|node()"</tracexsl:comment><tracexsl:text xmlns:tracexsl="http://www.w3.org/1999/XSL/Transform" xml:space="preserve">
</tracexsl:text></xsl:template>

<!-- Stefan wants to replace <testtag/> elements with a fixed header...
     not very interesting, but OK as an example. -->
    <xsl:template match="testtag"><tracexsl:text xmlns:tracexsl="http://www.w3.org/1999/XSL/Transform" xml:space="preserve">
</tracexsl:text><tracexsl:comment xmlns:tracexsl="http://www.w3.org/1999/XSL/Transform">[TraceXSL Begin] match="testtag"</tracexsl:comment><tracexsl:text xmlns:tracexsl="http://www.w3.org/1999/XSL/Transform" xml:space="preserve">
</tracexsl:text>
	<h1>tralala</h1>
    <tracexsl:text xmlns:tracexsl="http://www.w3.org/1999/XSL/Transform" xml:space="preserve">
</tracexsl:text><tracexsl:comment xmlns:tracexsl="http://www.w3.org/1999/XSL/Transform">[TraceXSL END] match="testtag"</tracexsl:comment><tracexsl:text xmlns:tracexsl="http://www.w3.org/1999/XSL/Transform" xml:space="preserve">
</tracexsl:text></xsl:template>

</xsl:stylesheet>