[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: DOCBOOK: XSLT: (StylesheetHandler) xsl:include is not allowed inside a template!
[ Multipart-alternative HTML removed by moderator. Please do not send multipart-alternative text and HTML versions of email to this list. --moderator ] The html pages that I need to generate have images at the top and bottom. I thought that I could include them within the template. Wrong! What is the work around? Create a text variable and assign the text that does the include it? ========= Parsing file:E:/docbook/html/ITtest.xsl ========== XSL Error: Could not parse file:E:/docbook/html/ITtest.xsl document!, Location file:E:/docbook/html/ITtest.xsl, line 147, offset 47 XSL Error: processStylesheet not succesfull!, Location file:E:/docbook/html/ITtest.xsl, line 147, offset 47 XSLT: (StylesheetHandler) xsl:include is not allowed inside a template! Xalan: was not successful. XSLProcessor: done <xsl:template match="/"> <xsl:variable name="doc" select="*[1]"/> <link rel="stylesheet" href="web-css/CStyle.css" type="text/css"></link> <html> <head> <script LANGUAGE="JavaScript" src="web-scr/status.js"> <xsl:comment> include the script include file here.</xsl:comment> </script> <xsl:call-template name="head.content"> <xsl:with-param name="node" select="$doc"/> </xsl:call-template> <xsl:call-template name="user.head.content"/> </head> <body bgcolor="FFFFCC" link="green" vlink="olive"> <xsl:include href="web-inc/ITheader.html"/> <xsl:comment>Modify On-screen Title (Should ideally match the text in <TITLE> above)</xsl:comment> <xsl:comment>Main body starts here </xsl:comment> <xsl:apply-templates/> <xsl:comment>Main body ends here </xsl:comment> <xsl:include href="web-inc/ITfooter.html"/> </body> </html> </xsl:template> <!-- ==================================================================== --> </xsl:stylesheet>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC