Re: problems using tokenize()

2013-04-22 Thread Mukul Gandhi
Its my pleasure to be of help. On Mon, Apr 22, 2013 at 2:49 AM, Jim Barnett wrote: > Mukul, > > Yes, you are right. Count() works as you say. > > > > Thank you for your help. > > > > - Jim -- Regards, Mukul Gandhi ---

RE: problems using tokenize()

2013-04-21 Thread Jim Barnett
Mukul, Yes, you are right. Count() works as you say. Thank you for your help. - Jim From: Mukul Gandhi [mailto:muk...@apache.org] Sent: Friday, April 19, 2013 12:30 AM To: j-users@xerces.apache.org Subject: Re: problems using tokenize() Hi Jim, With a boolean() function around

Re: problems using tokenize()

2013-04-18 Thread Mukul Gandhi
Hi Jim, With a boolean() function around 'tokenize' call, an "effective boolean value" of xs:string* result of 'tokenize' will be returned. But this would result in an error as per XPath 2.0 spec, for your example. I imagine, an 'exists' or 'count' function around tokenize() would let you achieve

problems using tokenize()

2013-04-18 Thread Jim Barnett
I'm having trouble getting tokenize() to behave the way I expect it to. As before, I have an element with an attribute @target with type idrefs. I want to split the value into the individual idrefs (I will run more complicated tests on them, but for the moment I'm just trying to get access to