我们收到的文件是这样错误生成的:
<html>
<body>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.
<p>Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
<p>It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</p>
</p>
</p>
</body>
</html>
这些<p>
元素被嵌入到先前的<p>
节点中。它应该看起来像这样:
<html>
<body>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
<p>Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p>
<p>It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</p>
</body>
</html>
我们无法控制向我们发送文档的应用程序。我们如何使用 XSL 转换此文档,以便仅将子节点(及其内容)呈现为兄弟节点?