[xquery-talk] 'except' in XQuery

padmapriya ayyagari asn.padmapriya at gmail.com
Tue Jan 11 05:15:42 PST 2005


Hello everyone,

I want to output all the parts of an XML document except those that
satisfy a particular xpath expression. I'm trying to do this by
writing:

fn:document("docs/xmark.xml")/fn:document("docs/xmark.xml")//* except
fn:document("docs/xmark.xml")/site/people

But I still get the nodes that satisfy /site/people. Is there a
problem with my xquery syntax?? I've also tried '/*' instead of '//*'
but to no avail.

Thanks,
Padmapriya


More information about the talk mailing list