What is the syntax for a wildcard query

If I wanted to do a wildcard query on the following collection and element. What would the syntax be.

/Document[ScientificData/CABTitle=‘test*’ and DocID=‘18*’]

This was my initial thought, but it returns nothing.

Thank you,


Hi Andy,


/Document[ScientificData/CABTitle~=‘test*’ and DocID~=‘18*’]

To use wildcards, you have to use the “~=” operator.

Note that the following query is equivalent in functionality, and may be more efficient:


Puny Sen