[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
add version="1.0" to xsl:stylesheet tag
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
but not sure if this is exactly your problem, if u give an example of your xml file can help more,
cheers, jim fuller
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Re: [xsl] XSL not working?
Subject: Re: [xsl] XSL not working? From: cutlass <cutlass@xxxxxxxxxxx> Date: Fri, 19 Jan 2001 09:13:11 +0000 |
add version="1.0" to xsl:stylesheet tag
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
but not sure if this is exactly your problem, if u give an example of your xml file can help more,
cheers, jim fuller
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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XSL not working?, by way of B. Tommie | Thread | Re: [xsl] XSL not working?, David Carlisle |
Re: [xsl] Setting encoding for a ne, cutlass | Date | Re: [xsl] Problem with Predicate se, David Carlisle |
Month |
Keywords