This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]