1<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> 2 3<xsl:template match="foo"> 4 <FOO> 5 <xsl:apply-templates/> 6 </FOO> 7</xsl:template> 8 9<xsl:template match="bar"> 10 <BAR> 11 <xsl:value-of select="."/> 12 </BAR> 13</xsl:template> 14 15<xsl:template match="xxx"> 16 <XXX> 17 <xsl:value-of select="."/> 18 </XXX> 19</xsl:template> 20 21</xsl:stylesheet> 22