xsl-list
[Top] [All Lists]

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

2007-09-20 10:35:17
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/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--