multiple values in a xpath filter string

It depends on what version of XPath.

XPath 2.0 can handle sequences:

//keyword[@ddms:value=('Adv1', 'Adv2', 'Adv3', 'etc')]

XPath 1.0 is more verbose:

//keyword[@ddms:value='Adv1' or @ddms:value='Adv2' or @ddms:value='Adv3']

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top