<xslTutorial creator="nicmila@idoox.com" zvonId="MNaaaa">
<index keywords='xsl:template xsl:value-of'/>
<description>An XSL processors parses an XML source and tries to find a matching template rule. If it does, instructions inside matching template are evaluated. </description>
<xmlSource id="id1">
<bold>Hello, world.</bold>
<red>I am </red>
<italic>fine.</italic>
</xmlSource>
<attValues>
<value match="em">matches any element named em
</value>
<value match=".">selects the currently processed element
</value>
</attValues>
<xslStylesheet id="id2">
<xsl:template match="bold">
<P><B><xsl:value-of select="."/></B></P>
</xsl:template>
<xsl:template match="red">
<P style="color:red"><xsl:value-of select="."/></P>
</xsl:template>
<xsl:template match="italic">
<P><i><xsl:value-of select="."/></i></P>
</xsl:template>
</xslStylesheet>
</xslTutorial>