Ant xmltask adding a blank xmlns=“”
问题 Below is the complete ant target which I am running to insert the driver to my wildfly standalone.xml: <target name="xmlrewrite" > <!--Driver--> <taskdef name="xmltask" classname="com.oopsconsultancy.xmltask.ant.XmlTask"/> <xmltask source="standalone.xml" dest="standalone.xml" report="true"> <copy path="//driver[@module='com.oracle.ojdbc6']/text()" property="modelexists"/> <insert path="*[local-name()='server']/*[local-name()='profile']/*[local-name()='subsystem'][3]/*[local-name()=