[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

XSL not working?

Subject: XSL not working?
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx (by way of B. Tommie Usdin)
Date: Thu, 18 Jan 2001 18:31:30 -0500
xsl not
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
  • XSL not working?
    • by way of B. Tommie Usdin - Thu, 18 Jan 2001 19:04:57 -0500 (EST) <=
      • cutlass - Fri, 19 Jan 2001 04:07:22 -0500 (EST)
      • David Carlisle - Fri, 19 Jan 2001 04:20:12 -0500 (EST)
      • Message not available
      • Michael Kay - Fri, 19 Jan 2001 07:16:22 -0500 (EST)

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.