Change NodeName of an XML tag element using MSXML

后端 未结 4 1193
滥情空心
滥情空心 2021-01-19 08:03

I\'d like to change the tag name of a MSXML XMLDOMElement, but unfortunately the nodeName property is read-only. Is there any straightforward way to do it, or have

4条回答
  •  遇见更好的自我
    2021-01-19 08:33

    According to Document Object Model you can't rename a node.

    See: http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-1950641247

    renameNode is possible in DOM Level 3 but not in MSXML library

提交回复
热议问题