I am trying to match against ids stored as list element using XQuery.
For example,
<data> <item> <name>foo</name> <intValues>1 2 3 4 5</intValues> </item> <item> <name>bar</name> <intValues>6 7 8 9 10</intValues> </item> </data>
is it possible to return items that include 3 in the intValues?
This XPath expression selects exactly all
itemelements that have a ‘3’ as one of the list of values contained in theirintValueschild:/*/item['3' = tokenize(intValues, ' ')]