XSLT template in another file

Is it possible to call another xslt template file that can be reused for other XSLT files. More like a regular / Helper xslt file. (I specifically use patterns)

+6
source share
2 answers

Yes it is possible. For a detailed explanation of this issue see: This site

+1
source

This is not a XSLT 2.0 issue.

In XSLT 1.0 and XSLT 2.0 you can use directives:

<xsl:import>

and

<xsl:include>

+1
source

Source: https://habr.com/ru/post/888258/


All Articles