<xslTutorial creator="nicmila@idoox.com">
<index keywords='xsl:sort @case-order'/>

<description><stylesheet id='id2'/> sorts upercase and <stylesheet id='id3'/> lowercase  letters first. </description>

<xmlSource id="id1">
<word id="czech"/>
<word id="Czech"/>
<word id="cook"/>
<word id="TooK"/>
<word id="took"/>
<word id="Took"/>

</xmlSource>

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

<xslStylesheet id="id2">
<xsl:template match="/">
<TABLE> 
 <xsl:for-each select="//word"> 
 <xsl:sort case-order="upper-first" select="@id"/> 
 <TR><TH><xsl:value-of
 select="@id"/></TH></TR> 
 </xsl:for-each> 
 </TABLE> 
</xsl:template>

</xslStylesheet>

<xslStylesheet id="id3">
<xsl:template match="/">
<TABLE> 
 <xsl:for-each select="//word"> 
 <xsl:sort case-order="lower-first" select="@id"/> 
 <TR><TH><xsl:value-of
 select="@id"/></TH></TR> 
 </xsl:for-each> 
 </TABLE> 
</xsl:template>
</xslStylesheet>

</xslTutorial>