我有以下模板
我希望只有至少一个相应模板的成员时,才显示标题(one,two,three)。我该如何检查这一点?
<h2>one</h2>
<xsl:apply-templates select="one"/>
<h2>two</h2>
<xsl:apply-templates select="two"/>
<h2>three</h2>
<xsl:apply-templates select="three"/>
我希望只有至少一个相应模板的成员时,才显示标题(one,two,three)。我该如何检查这一点?