[xquery-talk] How to retrieve Sequence of atomic values?
Daniel Pötzinger
info at xaba.de
Mon Feb 20 16:22:17 PST 2006
andrew welch wrote:
> On 2/20/06, Torsten Grust <grust at in.tum.de> wrote:
>
>> On 2/20/06 3:42 PM, Daniel Pötzinger wrote with possible deletions:
>>
>>> [...]
>>> How is it possible to handle an element:
>>> <test>1 2 3 4</test>
>>> as sequence of atomic types (xs:integer) in an XQuery?
>>>
>
> How about:
>
> for $x in tokenize(test, ' ') return xs:integer($x)
>
> cheers
> andrew
>
>
Thanks both of you for the answer
I am using eXist as XML-DB and Schemavalidation is not fully implemented
I think.
I tried the solution with validate but did not come to my result.
The "tokenize" suolution works fine, thanks!
More information about the talk
mailing list