<sendSms xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://service.emay.com/">
<CommonHeader>
<batchNum>abc</batchNum>
<esbMsgID />
<reqStartTime>abc</reqStartTime>
<reqEndTime>date</reqEndTime>
</CommonHeader>
<BizBody>
<record>
<smsAccount>abc-abc-abc-abc</smsAccount>
<pwd />
<deptID />
<deptName />
<phoneNum>1asd</phoneNum>
<customer>abc</customer>
<contract>abc</contract>
<smsType />
<systemID>abc</systemID>
<signType>abc</signType>
<smsContent>abc/abc+abc+abc</smsContent>
</record>
</BizBody>
</sendSms>
However the requirement is to have something like below XML
<wstxns1:sendSms xmlns:wstxns1="Some URL">
<CommonHeader>
<batchNum>CAP20151207160553</batchNum>
<esbMsgID></esbMsgID>
<reqStartTime>2012-07-07 07:07:07</reqStartTime>
<reqEndTime>2012-07-07 07:07:07</reqEndTime>
</CommonHeader>
<BizBody>
<record>
<smsAccount>短信帐号</smsAccount>
<pwd>帐号密码</pwd>
<deptID>部门编号</deptID>
<deptName>部门名称</deptName>
<phoneNum>手机号</phoneNum>
<customer>客户名</customer>
<contract>合同号</contract>
<smsType>短信类型编码</smsType>
<systemID>业务系统编码</systemID>
<signType>企业签名类型</signType>
<smsContent>短信内容</smsContent>
</record>
</BizBody>
</wstxns1:sendSms>
As you guys can see that the difference is only XML prefix "wstxns1", how can we achieve this task and replace parent node by desired node. Rest of the XML (child nodes) seems fine.