I have an xml doc like this:
<root>
<e1>
<l2>
..
</l2>
</e1>
<e2>
...
</e2>
...
</root>
I want to extract the list of direct children of an element only the element tag name, for example for root I only want to get e1, and e2 (just the tag(element)name not the whole element) and for e1 I want to get l2 again just the tagname
Is it possible to do this in SQL Server 2012?