Hi, all.
I'm having problems using XPATH / XQUERY versus input containing ":" in the node names.
Example:
<MyData:Property MyData:Name="FirstName">Joe</MyData:Property>
</MyData:Provider>
</MyData:Output>
T-SQL (breaks):
However, if I remove all the "MyData:" references from code and data, it works fine. I don't have an option of getting the incoming data changed;
FROM dbo.Some_Table
__________________________________________________________
XQuery [dbo.Some_Table.XMLContents.query()]: The name "MyData" does not denote a namespace.
is there a way to escape the character to get this code to work