<Description>116423<ul><li>Creation Story</li></ul></Description>
<Description>116423<ul><li>Promise</li></ul></Description>
<Description>116423<ul><li>My House Is the Red Earth</li></ul></Description> <Description>116423<ul><li>Letter From the End of the Twentieth Century</li></ul></Description>
<Description>116423<ul><li>Fear Poem </li></ul></Description>
<Description>116423<ul><li>The Real Revolution is Love</li></ul></Description><Description>116423<ul><li>For Anna Mae Pictou Aquash</li></ul></Description><Description>116423<ul><li>She Had Some Horses </li></ul></Description><Description>116423<ul><li>The Myth of Blackbirds</li></ul></Description>
<Description>116423<ul><li>A Postcolonial Tale </li></ul></Description>
これは私の XML です。説明ノードには他と同じ ID が含まれていますが、li タグにはすべて異なる値が含まれていることがわかります。ここで、すべての li ノードを 1 つの記述にマージし、次のように ul ノードをマージします。
<description>
<ul>
<li>Creation Story</li>
<li>Promise</li>
<li>My House Is the Red Earth</li>
<li>Letter From the End of the Twentieth Century</li>
<li>Fear Poem</li>
<li>The Real Revolution is Love </li>
<li>For Anna Mae Pictou Aquash </li>
<li>She Had Some Horses </li>
<li>The Myth of Blackbirds </li>
<li>A Postcolonial Tale </li>
</ul>
</description>