|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XSL not working?
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
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








