XMLファイルで同様のXMLタグを連結するには、どうすればこれを処理できますか
次の形式の XML があります::
<addressbook>
<address>
<first-name>Chester Hasbrouck</first-name>
<Descritpion>Hi</Descritpion>
<Descritpion>This is Chester </Descritpion>
<street>1234 Main Street</street>
<city>Sheboygan</city>
<state>WI</state>
<zip>48392</zip>
</address>
<address>
<first-name>Mary</first-name>
<Descritpion>Hi</Descritpion>
<Descritpion>This is Mary </Descritpion>
<Descritpion>Bye</Descritpion>
<street>283 First Avenue</street>
<city>Skunk Haven</city>
<state>MA</state>
<zip>02718</zip>
</address>
</addressbook>
次の形式でこれが必要です。誰かがそのために XSLT を提案してください。
<addressbook>
<address>
<first-name>Chester Hasbrouck</first-name>
<Descritpion>Hi | This is Chester </Descritpion>
<street>1234 Main Street</street>
<city>Sheboygan</city>
<state>WI</state>
<zip>48392</zip>
</address>
<address>
<first-name>Mary</first-name>
<Descritpion>Hi | This is Mary | Bye</Descritpion>
<street>283 First Avenue</street>
<city>Skunk Haven</city>
<state>MA</state>
<zip>02718</zip>
</address>
</addressbook>