Import another xsl style sheet : import « XSLT stylesheet « XML






Import another xsl style sheet


File: dummy.xsl

<?xml version="1.0"?>
<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  version="1.0">

  <xsl:include href="dummya.xsl" />
</xsl:transform>

File: dummya.xsl

<?xml version="1.0"?>
<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  version="1.0">

  <xsl:import href="dummyb.xsl" />
  <xsl:import href="dummyc.xsl" />
</xsl:transform>


File: dummyb.xsl

<?xml version="1.0"?>
<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  version="1.0">

</xsl:transform>

File: dummyc.xsl

<?xml version="1.0"?>
<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  version="1.0">

</xsl:transform>

 








Related examples in the same category

1.This template has higher precedence over the templates being imported