Possible Duplicate:
How to access a xml node with attributes and namespace using selectsinglenode()
I have an XML:
<Root xmlns:XXXlocal="XXXX" schemaVersion="2.7" variant="multiterm">
<Customers>
<Customer type="Covered">
<DataItem name="OpCity" value="" />
<DataItem name="OpAddress1" value="" />
<DataItem name="OpAddress2" value="" />
<DataItem name="OpState" value="MI" />
<Customer>
</Customers>
</Root>
I need to get the value "MI" from the above XML. Please note that the XML has many different "Customer Types."
How would I go about doing this? I'm having difficulty writing the xPath query to get it.