先用当前的Document对象使用createAttribute(String)创建一个属性节点
然后使用父节点的setAttributeNode()将新建的属性加到节点中。