OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK: DocBook XSL: <xsl:variable> and <xsl:param>


/ Dave Makower <davemak@iclick.com> was heard to say:
| Is there a reason that the boolean $generate.component.toc and 
| $generate.division.toc are declared as <xsl:variable> and not 
| <xsl:param> in the DocBook XSL -> HTML stylesheets?

If there's a semantic difference between xsl:variable and xsl:param
at the top level, I've forgotten what it is.

| On a related note, why is it that this has an effect...
| 
|   xt mybook.xml /usr/share/docbook/xsl/html/docbook.xsl section.autolabel=true
| 
| ...but the following doesn't?
| 
|   xt mybook.xml /usr/share/docbook/xsl/html/docbook.xsl generate.component.toc=false

That's a bug on my part. I should have used 0/1 not
true/false. The problem is that a string containing the
characters "false" is converted to the boolean value true
(because the string is non-empty and boolean values have no text
representation).

I think if you set generate.component.toc=0, you'll get the result
you want.

I'll fix that in the next release. (1.10, not 1.9 which will be/is going
up today)

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | A hen is only an egg's way of
http://www.oasis-open.org/docbook/ | making another egg.--Samuel Butler
Chair, DocBook Technical Committee | (II)



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC