如何編寫一個採用所有非「元」和「答案」元素並將它們存入「my_question」模板的XSLT模板?因此,例如,給出下面的XML ...如何使用排除某些元素但包含其他元素的XSLT模板?
<question>
<meta>
...
</meta>
<para />
<para>Why?</para>
<answer weight="1" correctness="0">
...
</answer>
<answer weight="1" correctness="0">
...
</answer>
<answer weight="1" correctness="100">
...
</answer>
<answer weight="1" correctness="0">
...
</answer>
</question>
我希望得到的結果是
<my_question>
<para />
<para>Why?</para>
</my_question>