I have seen some examples querying using a single attribute but am puzzled on how to use 2 attributes.
<componentcache>
<component Name="CALC_TODAYDATELONG" value="MONDAY, MAY 06, 2013" />
<component Name="CALC_OFFICENAME" value="DEFAULT OFFICE" />
<component Name="STAFFINFO_FULLNAME" value="LEE LEE, JR" />
<component Name="PATINFO_FULLNAME" value="JAYNE H DOE" />
<component Name="PATINFO_BIRTHDATE" value="11/07/1901" />
<component Name="PATINFO_PATIENTNO" value="AG000003" />
<component Name="ENCOUNT_DXDESC1" value="ABC" />
<component Name="ENCOUNT_DXDESC2" value="DEF" />
<component Name="ENCOUNT_DXDESC3" value="HIJK" />
</componentcache>
SELECT DocumentStoreID, DocTemplateID, PersonID, Document from DocumentStore
WHERE DataCache.value('/componentcache/component...
I want to select the row(s) where Name like "ENCOUNT_DXDESC%" and value = 'DEF'