Would you have some example of include a stylesheet into another one ?
Alternatively could you tell me how it works ?
The following doesn't seem to work :
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:include href="home.xsl"/>
</xsl:stylesheet>

with home.xsl being a stylesheet like :
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  <xsl:template match="chapter">
    <h2>A Title</h2>
    <ul>
      <xsl:apply-templates select="section"/>
    </ul>
  </xsl:template>

  <xsl:template match="section">
    some section...
  </xsl:template>

</xsl:stylesheet>

Thanks very much for your help

Guillaume

Reply via email to