我有以下问题。我有一个这样的XML文档:
<?xml version="1.0" encoding="UTF-8"?>
<transfer xmlns="http://ws.wso2.org/dataservice" username="my_username" password="my_pswd">
<providerpid>00AB40</providerpid>
<recipientpid>00AD12</recipientpid>
<symbol>SMTA1234</symbol>
<type>SMTA</type>
<materials>
<doi>10.0155/1463</doi>
<doi>10.0155/1464</doi>
</materials>
</transfer>
正如您所见, 元素已设置此属性 xmlns =“http://ws.wso2.org/dataservice”
如何使用简单的JavaScript删除此属性?