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

<description>Template can match from selection of location paths, individual paths being separated with |.(<stylesheet id='id2'/>). Wildcard * selects all possibilities.Compare <stylesheet id='id2'/> with <stylesheet id='id3'/>. Compare with <example id="ex73"/>.</description>

<xmlSource id="id1">
<employee>
<firstName>Joe</firstName>
<surname>Smith</surname>
</employee>
</xmlSource>

<attValues>
<value match="">
</value>
</attValues>

<xslStylesheet id="id2">
<xsl:template match="firstName|surname">
<DIV><xsl:text>[template: </xsl:text>
<xsl:value-of select="name()"/>
<xsl:text> outputs </xsl:text>
<xsl:apply-templates/>
<xsl:text> ]</xsl:text></DIV>
</xsl:template>
</xslStylesheet>

<xslStylesheet id="id3">
<xsl:template match="*">
<DIV><xsl:text>[template: </xsl:text>
<xsl:value-of select="name()"/>
<xsl:text> outputs </xsl:text>
<xsl:apply-templates/>
<xsl:text> ]</xsl:text></DIV>
</xsl:template>
</xslStylesheet>

</xslTutorial>