How do I create a complex xquery statement?

I am trying to create a complex query. For example: This is what I have tried with no success

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

The queries work find seperately, but when I put them together I get no results.

Thank you for your help,


The correct syntax would be:

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

Hope this helps,

That worked great.

Thank you,