From: Norman W. <nw...@us...> - 2001-06-04 23:04:03
|
Update of /cvsroot/docbook/website/xsl In directory usw-pr-cvs1:/tmp/cvs-serv23406 Modified Files: Tag: V2-branch autolayout.xsl Log Message: Support tocksip attribute and default-filename config option Index: autolayout.xsl =================================================================== RCS file: /cvsroot/docbook/website/xsl/Attic/autolayout.xsl,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -r1.1.2.1 -r1.1.2.2 *** autolayout.xsl 2001/04/15 20:55:28 1.1.2.1 --- autolayout.xsl 2001/06/04 20:37:00 1.1.2.2 *************** *** 77,80 **** --- 77,83 ---- <xsl:value-of select="@filename"/> </xsl:when> + <xsl:when test="/layout/config[@param='default-filename']"> + <xsl:value-of select="(/layout/config[@param='default-filename'])[1]/@value"/> + </xsl:when> <xsl:otherwise>index.html</xsl:otherwise> </xsl:choose> *************** *** 115,118 **** --- 118,126 ---- <xsl:value-of select="$filename"/> </xsl:attribute> + <xsl:if test="@tocskip != '0'"> + <xsl:attribute name="tocskip"> + <xsl:value-of select="@tocskip"/> + </xsl:attribute> + </xsl:if> <title> |