Predicates are expressed within square brackets, []. If you wish to select the r2ml:ObjectVariable elements that have a r2ml:Name value that doesn't appear on any r2ml:Name attribute within an r2ml:antecedent then I think it's:
Code:
//r2ml:UniversallyQuantifiedFormula/r2ml:ObjectVariable[not(@r2ml:name = //r2ml:antecedent/r2ml:ObjectVariable/@r2ml:name)]
But it depends on:
* Are you only interested in comparing against antecedents that are siblings of the ObjectVariable?
* Are the r2ml attributes always on an ObjectVariable?
--
Joe (
Microsoft MVP - XML)