1
我有標記,我想刪除/轉換某些標籤,但保留數據。XSLT - 刪除一些標籤,但保留內容的順序
例如這樣的:
<div>This is some <b>bold</b> text inside of a div</div>
<p>This is <u>another <b>formatted</b></u> string...<br /></p>
應該成爲這樣的:
<p>This is some <b>bold</b> text inside of a div</p>
<p>This is another <b>formatted</b> string...</p>
使用apply-templates
以滿足每一種狀況:由於嵌套不起作用。
你會怎麼做呢?
大,由於多數民衆贊成工作很適合我。 – Kyle