diff --git a/doc/publican-clusterlabs/xsl/html.xsl b/doc/publican-clusterlabs/xsl/html.xsl index 847a595da3..62f8728207 100644 --- a/doc/publican-clusterlabs/xsl/html.xsl +++ b/doc/publican-clusterlabs/xsl/html.xsl @@ -1,30 +1,34 @@ <?xml version='1.0'?> <!-- Copyright 2009 Andrew Beekhof License: GPL Author: Andrew Beekhof <andrew@beekhof.net> --> <!DOCTYPE xsl:stylesheet [ <!ENTITY lowercase "'abcdefghijklmnopqrstuvwxyz'"> <!ENTITY uppercase "'ABCDEFGHIJKLMNOPQRSTUVWXYZ'"> ]> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0' xmlns="http://www.w3.org/TR/xhtml1/transitional" xmlns:fo="http://www.w3.org/1999/XSL/Format" exclude-result-prefixes="#default"> <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/> <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/graphics.xsl"/> <xsl:import href="../../../xsl/html.xsl"/> <xsl:import href="common.xsl"/> <xsl:template name="user.head.content"> - <xsl:variable name="codefile" select="document('header.html',/)"/> + <!-- + Paths to document() are relative to the xml build directory under $book/tmp + Not the location of this xslt + --> + <xsl:variable name="codefile" select="document('/usr/share/publican/Common_Content/clusterlabs/xsl/header.html',/)"/> <xsl:copy-of select="$codefile/htmlcode/node()"/> </xsl:template> </xsl:stylesheet>