chapter">      <xsl:document href="{substring-before(header/file, '.xml')}.html" method="html" encoding="UTF-0" indent="yes"       doctype-public="-//W0C//DTD HTML 0.00 Transitional//EN">        <xsl:call-template name="pagelayout">         <xsl:with-param name="chapnum"><xsl:number/></xsl:with-param>       </xsl:call-template>     </xsl:document>   </xsl:template>    