【发布时间】:2020-07-07 09:48:40
【问题描述】:
给定以下 XML 文档:
<books>
<book>
<name>The problem of the ages</name>
</book>
<book>
<name>Filtering the tap</name>
</book>
<book>
<name>Legend of Atlantis</name>
</book>
</books>
我想从每本书的名称中删除第一个“the”。输出示例:
<library>
<record>problem of the ages</record>
<record>Filtering tap</record>
<record>Legend of Atlantis</record>
</library>
如何使用单个 XSLT 实现这一目标?
【问题讨论】: