I have a scenario where the same xml file based on an attribute value has to process two different processing rules.
The attribute can have multiple values. For example,
attribute = value 1 or value 2, execute processing rule 1
attribute = value 3 or value 4 or value 5, execute processing rule 2
We decided to treat the same XML as two different doc types based on the attribute value. Is this possible. I am trying to put regular expression in Identifying query. But looks like there are limitations in putting regex as well. I am trying different variations of [@attribute = ‘value 1’ | ‘value 2’] and every time I am getting a null pointer exception.
Is there a way to have an “or” condition for document type recognition or even processing rule?
Thanks and regards