From: Chris Marasti-G. <cg...@rj...> - 2006-02-08 16:50:17
|
Autonomous test case: =20 <node/> | () =20 (My) expected result: =20 <node/> =20 Actual result: =20 Error XPTY0004 : union operand is not a node sequence If I am not mistaken, () is the equivalent of a sequence of nodes, length 0. =20 I have a case where I need to collect a set of results like: $doc//node-a | $doc//node-b | $doc//node-c | $doc//node-d =20 I do not know if any or all of those nodes exist, and it would be nice not to have to check =20 Chris Marasti-Georg |