-1
請幫我用XSLT。需要從一個選擇框中選擇選項並放置到另一個選擇框。 我有:XSLT替換選項
<form id="USE-THIS-ID-IN-XSLT">
<select>id="USE-THIS-ID-IN-XSLT">
<option>This will be removed</option>
<option>This will be removed</option>
<option>This will be removed</option>
</select>
</form>
和
<select id="USE-THIS-ID-ALSO">
<option>This will go up</option>
<option>This will go up</option>
<option>This will go up</option>
</select>
所以結果被
<form id="USE-THIS-ID-IN-XSLT">
<select>id="USE-THIS-ID-IN-XSLT">
<option>This will go up</option>
<option>This will go up</option>
<option>This will go up</option>
</select>
</form>
如果可能的話,需要做的是沒有創建單獨的xsl:模板匹配...(需要在當前做)
爲什麼你需要在同一個模板中做? – 2014-11-23 19:21:04