Sorry if this has been answered, I had a hard time search for 'and'.

I have an XML document (snippet below) and I am trying to retrieve the FREIGHTFEE's attributes based on the value of multiple elements, as follows. Actually, for now I'm just trying to locate the elements that meet my criteria:

varCompany = 01 AND
varCustomer = *ALL AND
varShip = STD AND
varSTATE= IL

I have tried:...