This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Error "(StylesheetHandler) xsl:value-of not allowed inside a stylesheet"
- To: <xsl-list at mulberrytech dot com>
- Subject: RE: Error "(StylesheetHandler) xsl:value-of not allowed inside a stylesheet"
- From: "Igor Nakshin" <inakshin at sprynet dot com>
- Date: Wed, 15 Mar 2000 17:44:56 -0600
- Reply-To: xsl-list at mulberrytech dot com
You are missing <xsl:template> in your stylesheet.
Something like
> <?xml version="1.0"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
> <html>
> <head>
> <title>
> </title>
> </head>
> <body bgcolor="#ffffff">
> <h1><xsl:value-of select="doc"/></h1>
> </body>
> </html>
</xsl:template>
> </xsl:stylesheet>
should do.
Igor.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list