This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

DocBook XSL: <xsl:variable> and <xsl:param>


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?

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

(Both $generate.component.toc and $section.autolabel are declared 
using <xsl:variable>.  Obviously, I'm a little confused about the 
differences between <xsl:variable> and <xsl:param>)

-- 
+-------------------------------------------------------------------+
| Dave Makower                                 <davemak@iclick.com> |
| Manager of Portal Architecture & Development                      |
+--------------------------------+----------------------------------+
|   iClick, Inc.                 |   (914) 872-8030                 |
|   120 Bloomingdale Road        |   (914) 872-8100   fax           |
|   3rd Floor                    |   (914) 872-8000   main          |
|   White Plains, NY  10605      |   http://www.iclick.com/         |
+--------------------------------+----------------------------------+


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]