I want to get gid and uid from the below xml. This xml exists as a column in a SQL Server 2008 table called xmlmsg. I need a SQL query that parses the table which has an xml column with the data like below:
<person xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://api.money.com/schema/contact" Email=""
gId="11" uId="uadgra45678" Timestamp="2013-10-17T19:19:41Z"
xsi:schemaLocation="http://api.money.com/schema/contact http://api.money.com/schema/contact/contact-1.2.xsd">
</person>