<xsl:stylesheet ... >
<xsl:template match =" * " >
<xsl:copy>
<xsl:apply-templates />
</xsl:copy>
</xsl:template>
<xsl:template match=" thought " >
<xsl:copy>
<title><xsl:value-of select =" title " /><title>
<xsl:apply-templates select =" author " />
<body><xsl:value-of select=" body " /><body>
</xsl:copy>
</xsl:template>
<xsl:template match=" author " >
<xsl:copy>
<xsl:text>The author is: </xsl:text>
<xsl:value-of select=" . " />
</xsl:copy>
</xsl:template>
</xsl:stylesheet>