如何在sql 2005中获取xml标记名称?

问题描述:

XML文件如下所示


< stm>
< customername>
.
.
.
.



如何获得< stm>仅使用sql server 2005命名?

输出:
STM

XML FILE AS BELOW


<stm>
<customername>
.
.
.
.



How to get <stm> name only using sql server 2005 ?

OutPut:
STM

我认为您忘记附加XML文件和/或XML文件内容.
I think you forget to attach the XML file and or XML file content.