[xsl] XSL not working?

Subject: [xsl] XSL not working?
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx (by way of B. Tommie Usdin)
Date: Thu, 18 Jan 2001 18:31:30 -0500
From: Chirag_Nangia@xxxxxxxxxxxxxxxxxxx
Subject: Help!! XSL not working?
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
X-Mailer: Lotus Notes Release 5.0.5 September 22, 2000
Message-ID: <OF98CE64B3.EF232A75-ON882569D8.00773302@xxxxxxxxxxxxxx>
Date: Thu, 18 Jan 2001 13:48:09 -0800
X-MIMETrack: Serialize by Router on Ahab/Servers/CCRProcess(Release 5.0.2c |February 2, 2000) at
01/18/2001 01:48:03 PM
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii



Hey y'all? Do you see anything wrong with the following code? I am trying to create a simple stylesheet but it is not working.

Here:

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>

  <xsl:template match="guide">
    <html>
      <head>
        <title>
    <xsl:value-of select="title" />
  </title>
      </head>
      <body>
        <xsl:apply-templates select="*[not(self::title)]" />
      </body>
    </html>
  </xsl:template>

  <xsl:template match="contents">
    <center>
     <h3>Welcome to the Intranet</h3>
    </center>
    <hr />
    <ul>
     <xsl:for-each select="chapter">
        <li><xsl:value-of select="heading" /> </li>
  <xsl:apply-templates />
     </xsl:for-each>
    </ul>
  </xsl:template>

</xsl:stylesheet>

Thanks!

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread