我有一個標籤,其中包含標籤和文本。獲取文本和元素節點使用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