我有一个标签,其中包含标签和文本。获取文本和元素节点使用xpath的节点的子节点
<p>
Hello world <xref rid='1234'>1234</xref> this is a new world starting
<xref rid="5678">5678</xref>
finishing the new world
</p>
我打算使用XSLT转换,并在输出我需要更换<xref>
为<a>
和文本应具有相同的格式。
<p>
Hello world <a href='1234'>1234</a> this is a new world starting
<a href="5678">5678</a>
finishing the new world
</p>
可能重复的必要性://计算器。 COM /问题/ 6112874 /如何更换的-A-标签与-另一个标签功能于XML的使用,XSL) – 2013-03-26 14:40:40