Stylesheet Modularity

  • Stylesheets can be included or imported:

  • <xsl:include> provides source code modularity.

  • <xsl:import> provides logical modularity.

  • <xsl:apply-imports> allows an importing stylesheet to apply templates from an imported stylesheet.

  • What’s new is <xsl:next-match>