|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Effective boolean value is not defined for a seque
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








