the catch all looks like this
//ExpressionDocument[
(
(LedgerJournalTable_1/LedgerJournalTrans_1
[
count(…/LedgerJournalTrans_1) = count(…/LedgerJournalTrans_1[Dimension_1_ != ‘dept1’]) and
count(…/LedgerJournalTrans_1) = count(…/LedgerJournalTrans_1[Dimension_1_ != ‘dept2’]) and
count(…/LedgerJournalTrans_1) = count(…/LedgerJournalTrans_1[Dimension_1_ != ‘dept3’])
]
)
)
]
If i’m reading it right, it says the count of lines needs to = the count of lines that are not dept1 and the count of lines needs to = the count of lines that are not dept2 and the count of lines needs to = the count of lines that are not dept3.
To me it needs to say something like: the count of lines needs to not = (the count of lines that are not dept1 + the count of lines needs to = the count of lines that are not dept2 + the count of lines needs to = the count of lines that are not dept3).
I’m not sure how that xpath query would look