Does attribute matching in E4X include some kind of wildcard value? I'd like to be able to do something like:
nodes.node.(attribute( "a") == query.a && attribute("b") == query.b) <nodes> <node a="1"> </node> <node a="1" b="2"> </node> <nodes> and have both nodes match if query.b is null.