Re: [xsl] xsl:value-of not allowed inside a stylesheet

Subject: Re: [xsl] xsl:value-of not allowed inside a stylesheet
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Fri, 17 May 2002 10:24:22 +0100
Hi Jarkko,

> I getting this sort of error message from XALAN StylesheetHandler:
> XSLT error: (StylesheetHandler) xsl:value-of not allowed inside a
> stylesheet. (file:///var/www/xslt/Header.xsl, line 62, column 85)
>
> The situation is the same if I use xsl:copy-of.
>
> The part of the Header.xsl what seems to be wrong looks like this:
> <p><b>Message count= </b><xsl:value-of select="$NumberOfMessages" /></p>

It might be that you're using xsl:value-of outside a template (or
variable definition). What's the context of the above code?

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread