This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
XSL not working?
- To: xsl-list <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] XSL not working?
- From: owner-xsl-list at lists dot mulberrytech dot com (by way of B. Tommie Usdin)
- Date: Thu, 18 Jan 2001 18:31:30 -0500
- Reply-To: xsl-list at lists dot mulberrytech dot com
From: Chirag_Nangia@BalboaInsurance.Com
Subject: Help!! XSL not working?
To: xsl-list@lists.mulberrytech.com
X-Mailer: Lotus Notes Release 5.0.5 September 22, 2000
Message-ID: <OF98CE64B3.EF232A75-ON882569D8.00773302@ccrprocess.net>
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