次のXSLTがあるとしましょう。
<xsl:template match="property">
<xsl:copy>
<xsl:apply-templates select="@id"/>
<xsl:apply-templates select="@name"/>
<xsl:apply-templates select="@componentClassID"/>
</xsl:copy>
</xsl:template>
以前のapply-templatesステートメントで指定されていないすべての属性を選択するapply-templatesステートメントでコピーを終了するにはどうすればよいですか?
次は正しいでしょうか?
<xsl:apply-templates select="@*[name()!='id' and name()!='name' and name()!='componentClassID']"/>