我有一个XML文档。
在其他para
个节点中有para
个节点的负载。
我要删除其中的内容,并保持内部文本与其他para
节点内部文本的连接。
示例XML
<document>
<head>
<front>The front page</front>
</head>
<h1>
<para id="1234">This is the inner text <para> it needs joining together</para> maybe with other text</para>
</h1>
</document>
所需的输出
<document>
<head>
<front>The front page</front>
</head>
<h1>
<para id='1234'>This is the inner text it needs joining together maybe with other text</para>
</h1>
</document>