apply-templates要素を使用して最初のXSL変換を行っています。XSLTを開発する場合、ベストプラクティスは何ですか?apply-templatesの選択、テンプレートの一致、または考慮していないものについて、非常に具体的にする必要がありますか?
例A
<xsl:template match="/">
<xsl:apply-templates select="A/B/C/D"/>
<xsl:apply-templates select="J/K/L/M"/>
<xsl:apply-templates select="W/X/Y/Z"/>
</xsl:template>
<xsl:template match="Q"/>
また
例B
<xsl:template match="/">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="A/B/C/D/Q or J/K/L/M/Q or W/X/Y/Z/Q"/>