RE: [xsl] variable outside a for-each loop: second try

Subject: RE: [xsl] variable outside a for-each loop: second try
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 20 Sep 2007 18:34:48 +0100
> Error at xsl:value-of on line 21 of file:/tmp/dummy.xsl:
>  Required type of second operand of '/' is node(); supplied 
> value has type xs:string Transformation failed: Failed to 
> compile stylesheet. 1 error detected.
> 
> Where line 21 is:
> 
> <xsl:value-of 
> select="../preceding-sibling::row/entry[position() eq 
> $position][1]/normalize-space(string-join(para,' '))" />
> 
> What does this mean ?

It means that you are using a rather old version of Saxon. The spec changed
since it was released. Time to upgrade.

Michael Kay
http://www.saxonica.com/

Current Thread