Subject: Re: [xsl] Effective boolean value is not defined for a sequence of two or more items starting with a numeric value From: Florent Georges <lists@xxxxxxxxxxxx> Date: Tue, 15 Apr 2008 12:54:58 +0200 (CEST) |
Vyacheslav Sedov wrote: > tokenize($uri,'/')[1 to (last()-1)] Within '[' and ']' is a predicate. It is evaluated for each item, to see if the item is include or not in the sequence. It must result to a boolean. If it is not of type xs:boolean, its EBV is taken. But an EBV is not defined for a sequence of integers. (the special case of an integer is a shortcut for position() eq i) I guess what you are after is: tokenize($uri,'/')[position() ne last()] Regards, --drkm _____________________________________________________________________________ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Effective boolean value i, Martin Honnen | Thread | Re: [xsl] Effective boolean value i, Andrew Welch |
Re: [xsl] Effective boolean value i, Martin Honnen | Date | [xsl] xsl:for-each with dynamic sel, Przemek Urbanski |
Month |