ASP.NET - How to use xsl:element in xslt

XSLT xsl:element

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="">
  <xsl:output method="html"/>
  <xsl:template match="/">
        <title>XSLT xsl:element - How to use xsl:element in xslt</title>
        <h2 style="color:DarkSeaGreen; font-style:italic;">XSLT Example: Using xsl:element in XSLT</h2>
        <hr width="500" align="left" color="DarkSeaGreen" />
        <div style="color:OrangeRed; font:'Lucida Sans Unicode', 'Lucida Grande', sans-serif; font-size:x-large; font-weight:bold; font-style:italic;">
            <xsl:for-each select="books/book">
              <xsl:element name="BookName">
                <li><xsl:value-of select="name"/></li>

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