我该如何处理这个,在 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>