[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: DOCBOOK-APPS: Re: Bug: use id as filename,and root.filename appear mutually exclusive
/ Robert Collins <robert.collins@itdomain.com.au> was heard to say: | IMO the root.filename parameter should override the use.id.as.filename | parameter, or if both behaviours are needed, there should be a parameter | to control that. Seems reasonable. I'm not sure why that behavior changed. Here is the patch now checked into CVS: Index: chunk.xsl =================================================================== RCS file: /cvsroot/docbook/xsl/html/chunk.xsl,v retrieving revision 1.9 diff -r1.9 chunk.xsl 158a159,163 > <!-- if this is the root element, use the root.filename --> > <xsl:when test="not(parent::*) and $root.filename != ''"> > <xsl:value-of select="$root.filename"/> > <xsl:value-of select="$html.ext"/> > </xsl:when> 163,167d167 < <xsl:value-of select="$html.ext"/> < </xsl:when> < <!-- if this is the root element, use the root.filename --> < <xsl:when test="not(parent::*)"> < <xsl:value-of select="$root.filename"/> Be seeing you, norm -- Norman Walsh <ndw@nwalsh.com> | The greatest of all secrets is http://www.oasis-open.org/docbook/ | knowing how to reduce the force of Chair, DocBook Technical Committee | envy.--Cardinal De Retz
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC