小问题,多分相送。请教如何用JAXP生成带名称空间的DOM
求用JAXP生成下面这个DOM的代码。
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<MNS:METHODNAME xmlns:MNS="MethNSORPROGID" SOAP-ENV:encodingStyle="VERAADSF"/>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
分不是问题,有你的帮助,我很高兴!