[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: tokenize function behaviour
On 03/09/2010 14:17, Bartolomeo Nicolotti wrote:
Hello, yes, or at least that is what count(tokenize( @Attribute,';')) returns, which is what I think you meant. You might expect it to return 1 in the first case but (for some reason) the spec clearly defines special handling here: http://www.w3.org/TR/xpath-functions/#func-tokenize If $input is the empty sequence, or if $input is the zero-length string, the result is the empty sequence. David
This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
|
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
|