Hi all,
 
I want to tokenize a text as:
 
'one two "three four" five six" 
 
in
 
"one", "two", "three four", "five", "six"
 
I tried
 
cts:word-query(fn:tokenize('one two "three four" five six"', 
' |"'))
 
result:
<results warning="non-element node">cts:word-query(("one", "two", "", "three", 
"four", "", "five", "six", ""), ("lang=es"), 1)</results>
and
 
cts:word-query(fn:tokenize('one two "three four" five six"', 
'["\.*"]'))
 
result:
 <results warning="non-element node">cts:word-query(("one two ", "three four", 
" five six", ""), ("lang=es"), 1)</results> 
 
Thanks,
 
Mariano Grau
Dpto. Sistemas
Grupo Joly
 
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to