Lists Home |
Date Index |
I wonder if is possible to verify with XPath the following "pseudo" rule
-I want to match (assert) an element <a> with an attribute @match='true'
that its @index value will exist in another element <b> with the same
<a index="1" match="true">
<a index="2" match="false">
<a index="3" match="true">
Now, I want to pick a rule with XPath and schematron which will detect
the non existence of <b> with @index='3'.
I tried this rule but it's malformed:
<rule context="root" >
Any help would be very appreciated.
This is a digitally signed message part