Compound Select Statements
I'm running Saxon 9
I am trying to find an element that has specific values for a couple of child elements, B where C = 1 and D = 3.
A - B - C = 1
+ D = 2
+ B - C = 1
+ D = 3
+ E
My current node is E
My select statement is
select = "//B[./C = 1][./D = 3]"
I've also tried
select = "//B[(./C = 1) and (./D = 3)]
neither is giving the answer I want (the second 'B' node) I tend to get neither node.
While I try to find a typo somewhere causing this, are these valid ways find this node?
------------------------
Keep Moving Forward
GnuPG Key fingerprint = 1AD4 726D E359 A31D 05BF ACE5 CA93 7AD5 D8E3 A876
Michael Hare
__________________
------------------------
Keep Moving Forward
GnuPG Key fingerprint = 1AD4 726D E359 A31D 05BF ACE5 CA93 7AD5 D8E3 A876
Michael Hare
|