Hello,
I try to use QUIP to prepare customer presentation of XQUERY. I’am working on the filtering function using the W3C Working Draft 30 April 2002.
The problem is :
- abc.xml: xml source document
- filter.xquery : xquery
my query is :
filter(document(“abc.xml”)//(a | b)
The return is invalid :
toto
tutu
tata
The tag/element should not be empty,
The solution is :
{
filter(document(“abc.xml”)//(a,a/text(),b, b/text()))
}
is it a bug ?
Regards
Sebastien WAFFLART
sebastien.wafflart@softwareag.com
abc.xml (190 Bytes)