Using this Library Cockpit search as an example to find part numbers without (~) “HOLE” and (&) without (~) “Hole” in the value …
… the same search string in an XML Query File …
… results in an error:
The reason for this error is the ampersand character, ‘&’, has a special meaning in XML files and cannot be used as a literal character. The & character must be escaped with either a numeric reference (&) or the string “&”:
Please refer to this Table of ASCII Codes, Characters and Symbols for all of the special characters (Symbol column) and their equivalent HTML Number (e.g.: &) and, if they have one, the HTML Name (e.g.: &)
Additionally, these Xpedition EDM documents explain Search String Formats for EDM Library Cockpit and XML Query File Tags: