Sunday, 7 December 2014

XSL:include not working at all



Here is my setup:



<?xml version="1.0"?>
<xsl:transform xmlns:xsl="http://ift.tt/tCZ8VR" version="1.0">
<xsl:include href="top.xsl"/>
<xsl:template match="">
Content here - divs and such
</xsl:template>
</xsl:transform>


Then this is the stylesheet that I am trying to include.



<xsl:stylesheet xmlns:xsl="http://ift.tt/tCZ8VR" version="1.0">
<xsl:output method="html"/>
<xsl:template match="/">
Standard html file now, html, head,title,script,body etc.


Closes like this:



<xsl:apply-templates />
</body>
</html>
</xsl:template>

</xsl:stylesheet>


Why won't the include work?


No comments:

Post a Comment