<xslTutorial creator="nicmila@idoox.com">
<index keywords=''/>
<description>You can specify, that you want to process the element only if the element is a child of different element.</description>
<xmlSource id="id1">
<pedestrian>
<firstName>Joe</firstName>
<surname>Smith</surname>
</pedestrian>
<driver>
<firstName>Alice</firstName>
<surname>Elton</surname>
</driver>
</xmlSource>
<attValues>
<value match="">
</value>
</attValues>
<xslStylesheet id="id2">
<xsl:template match="driver/*">
<i><xsl:value-of select="."/></i>
</xsl:template>
<xsl:template match="pedestrian/*">
<B><xsl:value-of select="."/></B>
</xsl:template>
</xslStylesheet>
</xslTutorial>