xpath simplification

"rvj" <[email protected]> Fri, 10 Dec 2010 11:53:56 -0000
Newsgroups gmane.comp.mozilla.devel.xml
Message-ID <[email protected]>
The following "contains" tests seem to work but needs to be simplified using 
"and" condition

.. any idea of syntax?

purchaseOrder[items/item/productName[contains(.,'mower')]][items/item[contains(@partNum,'AA') 
 ]]

ps using http://www.xmlme.com/XpathTool.aspx  to test