java代码生成xml 报错:HIERARCHY_REQUEST_ERR: 尝试在不允许的位置插入节点。 document.appendChild(controlElement)好像只能append一个根节点