输入:
<?xml version="1.0" encoding="UTF-8" ?><DocumentCombined xmlns="http://xmlns.oracle.com/pcbpel/schema/ACCO_EDI_X12_Scheduledjobs/Write_867xmlfile">
<Header xmlns="">
<ISADATE>
<value-of/>
</ISADATE>
</Header>
</DocumentCombined>
在这里,我需要将 xmlns 名称空间删除到 DocumentCombined 元素和 Header 元素。
输出:
<?xml version="1.0">
<DocumentCombined>
<Header>
<ISADATE>
<value-of/>
</ISADATE>
</Header>
</DocumentCombined>