Hi Christian,
It does work.
This is the one which works: for $n score $s in $doc//*[text() contains text {'pissarro', 'gauguin'} ]
Thank you all for the help!
Regards,
Wiard
2011/5/20 Christian Grün christian.gruen@gmail.com
Something like: for $n score $s in $doc//*[text() contains text 'gauguin' AND contains text 'pissarro']
Looks fine; it should work if you switch "and" to lower case. You may also try:
for $n score $s in $doc//*[text() contains text 'gauguin' ftand 'pissarro']
for $n score $s in $doc//*[text() contains text { 'gauguin', 'pissarro' } all]
Christian