<xsl:template name="makeDiv">
<xsl:when test="descendant::*[Parent][Name]">
</xsl:when>
</xsl:template>
どこかで...
<xsl:if test="descendant::ParentCheck">
<xsl:call-template name="makeDiv"/>
</xsl:if>
誰かが私にどのtemplate-name=makeDivが定義されているか、そしてテストが何をしているのかを説明できますか?の子孫であるノードの属性' Parent
'および' 'を探していますか?Name
ParentCheck
また、どういう<xsl:when test="not(descendant::*[SomeAttribute])">
意味ですか?そうではない他の子要素を参照していSomeAttribute
ますか?