-1
輸入帶上H3位於p -使用XSLT
<data>
<container>
<strong>Code Development</strong>
<br/>
here to support
<ul class="nested">
<li>list 1</li>
<li>list 2</li>
<li>list 3</li>
<li>list 4</li>
</ul>
something here
<strong>this is strong</strong>
</container>
</data>
預期輸出 -
<h3>Code Development</h3>
<p>
here to support
<ul class="nested">
<li>list 1</li>
<li>list 2</li>
<li>list 3</li>
<li>list 4</li>
</ul>
</p>
<h3>this is strong</h3>
<p> something here</p>
強標籤應成爲H3和自H3不能內部<p>
這樣移動它外面數p作爲第一個在第p頁之前出現。
凡到底在堅持呢? –
邁克爾 - 我想處理p標籤外的h3以及p中的其他所有內容。不知道,如何避免只是h3 – Stark
恐怕你錯過了我的觀點。如果您有特定的困難,請指出 - 最好是發佈您嘗試過的內容。否則,它看起來像你想讓某人爲你做你的工作。 –