ASP.NET - How to test, evaluate multiple conditions in xslt

Evaluate multiple conditions in XSLT
ITBooks.xslt

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output method="html"/>
  <xsl:template match="/">
    <html>
      <head>
        <title>XSLT - How to test, evaluate multiple conditions in xslt</title>
      </head>
      <body>
        <h2 style="color:DarkSeaGreen; font-style:italic;">XSLT Example: evaluating multiple conditions in XSLT</h2>
        <table border="2" cellpadding="5" cellspacing="0" bordercolor="IndianRed">
          <tr bgcolor="Crimson" style="color:White; font-weight:bold">
            <td>Book ID</td>
            <td>Name of Book</td>
            <td>Author Name</td>
            <td>Book Price</td>
          </tr>
          <xsl:for-each select="books/book">
            <tr bgcolor="DarkSalmon" style="color:Snow; font-weight:normal">
              <td height="8">
                <xsl:value-of select="id"/>
              </td>
              <td height="8">
                <xsl:value-of select="name"/>
              </td>
              <td height="8">
                <xsl:value-of select="author"/>
              </td>
            <xsl:choose>
              <xsl:when test="price &lt; 25">
                <td height="8" style="color:SaddleBrown; font-weight:bold; font-style:italic;">
                  <xsl:value-of select="price"/>
                </td>
              </xsl:when>

              <xsl:when test="price &gt; 24 and price &lt; 40">
                <td height="8" style="color:Crimson; font-weight:bold; font-style:italic;">
                  <xsl:value-of select="price"/>
                </td>
              </xsl:when>
              <xsl:otherwise>
                <td height="8">
                  <xsl:value-of select="price"/>
                </td>
              </xsl:otherwise>      
            </xsl:choose>
            </tr>
          </xsl:for-each>
        </table>
      </body>
    </html>
  </xsl:template>
</xsl:stylesheet>
ITBooks.xml

<?xml version="1.0" ?>
<?xml-stylesheet type="text/xsl" href="ITBooks.xslt"?>
<!-- This is a sample XML file for various XML XSLT example-->
<books>
  <book Category="Photoshop">
    <id>1</id>
    <name>Photoshop Elements 8 for Windows: Visual QuickStart Guide</name>
    <author>Jeff Carlson</author>
    <price>26.99</price>
  </book>
  <book Category="Photoshop">
    <id>2</id>
    <name>VisionMongers: Making a Life and a Living in Photography</name>
    <author>David DuChemin</author>
    <price>44.99</price>
  </book>
  <book Category="Apple">
    <id>3</id>
    <name>Final Cut Pro Power Skills: Work Faster and Smarter in Final Cut Pro 7</name>
    <author>Larry Jordan</author>
    <price>39.99</price>
  </book>
  <book Category="Photoshop">
    <id>4</id>
    <name>Visual Poetry: A Creative Guide for Making Engaging Digital Photographs</name>
    <author>Chris Orwig</author>
    <price>44.99</price>
  </book>
  <book Category="Apple">
    <id>5</id>
    <name>iPhone SDK 3: Visual QuickStart Guide</name>
    <author>Duncan Campbell</author>
    <price>31.49</price>
  </book>
  <book Category="Operating Systems">
    <id>6</id>
    <name>Mac OS X 10.6 Snow Leopard Pocket Guide</name>
    <author>Jeff Carlson</author>
    <price>13.49</price>
  </book>
</books>
More asp.net examples