<xslTutorial creator="nicmila@idoox.com">
<index keywords='xsl:output' />

<description>The text output method outputs the result tree by outputting the string-value of every text node in the result tree in document order without any escaping. Look at the source in your browser to see the output.
</description>

<xmlSource id="id1">
<AAA id="12"/>
</xmlSource>

<attValues>
<value match=''></value>
</attValues>

<xslStylesheet id="id2">
<xsl:output method="text"/>
<xsl:template match="AAA">
<xsl:text><!ELEMENT </xsl:text>
<xsl:value-of select="name()"/>
<xsl:text> ANY></xsl:text>

<xsl:text><!ATTLIST </xsl:text>
<xsl:value-of select="name()"/>
<xsl:text> </xsl:text>
<xsl:value-of select="name(@*)"/>
<xsl:text> ID #REQUIRED></xsl:text>

<xsl:text>Look at my source in your browser</xsl:text>
</xsl:template>
</xslStylesheet>

</xslTutorial>