我正在尝试创建以下元素节点树:与:newCustprop=document.createElement("v:custProps");newcp=document.createElement("v:cp");newcp.setAttribute("v:nameU","Cost");newCustprop.appendChild(newcp);然而,document.createElement("v:custProps")生成而不是.无论如何要逃避这种解析?编辑1:我正在阅读this关于节点名称区分大小写的文章。这与我的问题有点无关,因为我的代码未使用进行解析。我宁愿不使用.innerH