Hi Michelle,
in the file K006A001.xml there is this line:
<kfx:DOCUMENTFIELD NAME="Barcode" VALUE="501 0523030026 " />
Please note that there is a space here ----------------^</pre><BR>If the filter condition contains a space, the XQuery works:<BR><pre class="ip-ubbcode-code-pre"> declare namespace kfx="http://www.kofax.com/dtd/"
for $q in input()/kfx:XMLRELEASE//kfx:DOCUMENT
where $q/kfx:DOCUMENTDATA/kfx:DOCUMENTFIELD[@VALUE="501 0523030026 "]
return $q
I hope that helps,
Trevor.
#webMethods#Tamino#API-Management