LIKE operator in XQL
<p>I am doing some XML parsing in webMethods which only supports XQL, not XPath/XQuery. </p>

<p>I'm trying to find the LIKE operator to do a wildcard search on an attribute value </p>

<pre><code>/MAP[@MODE='INPUT']/MAPSET[@FIELD LIKE '/documentTypeName*']/DATA/Values/value
</code></pre>

<p>In XQuery, I was using the matches() function. Have been surprised at my lack of finding an answer through searching. My best bet was <a href="http://www.ibiblio.org/xql/xql-proposal.html" rel="nofollow">http://www.ibiblio.org/xql/xql-proposal.html</a> which says it should be keyword <em>contains</em> but this doesn't seem correct. </p>