Let’s say I have the following XML (a very simplified example):
<packages> <package type="letter" processed="false">Some package info</package> <package type="box" processed="true">Other package info</package> </packages>
and that I want to use a queryXMLNode (WQL) to filter out any package elements that have the type attribute set to “letter” and the processed attribute set to “false”. What’s the proper way of doing this multiple-attribute-matching? A simple AND doesn’t seem to cut it.
doc.packages.package(type='letter' AND processed='true')
yields the same result as
doc.packages.package(type='letter' I CAN WRITE ANYTHING AT ALL HERE)
which is null, or no match, regardless of what I enter after the first attribute condition.
If I just match on a single attribute however, as
it works fine.
Thanks in advance for any enlightenment in this matter.