|
local marcSets = Utility.StringSplit(',', target.Value ); |
Specifing multiple xPath queries for a single field by separating them with a comma makes it so that xpath expressions that include a comma cannot be used.
An expression like this //datafield[@tag='035'][subfield[text()[contains(.,'(OCoLC)')]]][1] won't work because of the comma in the contains function
It is already possible to use xpath syntax to specify multiple xpath queries for a single field, like this
//datafield[@tag='100' or @tag='110' or @tag='111']/subfield[@code='a' or @code='b']