Get list of elements and their values from an untyped xml fragment in T-SQL
- by Kevin
Similiar to question:
http://stackoverflow.com/questions/2266132/how-can-i-get-a-list-of-element-names-from-an-xml-value-in-sql-server
How would I also get the values for the list of elements.
For example:
a1
b1
c1
Would return
Element | Value
A | a1
B | b1
C | c1