Website Parameter Reference
$Id: param.xweb 7076 2007-07-18 16:20:33Z xmldoc $
WalshNorman2002-2005Norman WalshThis is reference documentation for all user-configurable
parameters in the DocBook XSL Website stylesheet (for
generating websites from DocBook XML sources). Note that the
Website stylesheet is a customization layer of the DocBook XSL
HTML stylesheet. Therefore, in addition to the
Website-specific parameters listed in this section, you can
also use a number of HTML
stylesheet parameters to control Website output.General Parametersautolayout-filefilenameautolayout-fileIdentifies the autolayout.xml file
<xsl:param name="autolayout-file">autolayout.xml</xsl:param>
DescriptionWhen the source pages are spread over several directories, this
parameter can be set (for example, from the command line of a batch-mode
XSLT processor) to indicate the location of the autolayout.xml file.FIXME: for browser-based use, there needs to be a PI for this...
body.attributesattribute setbody.attributesDEPRECATED
<xsl:attribute-set name="body.attributes">
<xsl:attribute name="bgcolor">white</xsl:attribute>
<xsl:attribute name="text">black</xsl:attribute>
<xsl:attribute name="link">#0000FF</xsl:attribute>
<xsl:attribute name="vlink">#840084</xsl:attribute>
<xsl:attribute name="alink">#0000FF</xsl:attribute>
</xsl:attribute-set>
DescriptionDEPRECATEDcurrentpage.markerstringcurrentpage.markerThe text symbol used to mark the current page
<xsl:param name="currentpage.marker">@</xsl:param>
DescriptionCharacter to use as identifying the current page in dry-runbooleandry-runIndicates that no files should be produced
<xsl:param name="dry-run" select="0"></xsl:param>
DescriptionWhen using the XSLT processor to manage dependencies and construct
the website, this parameter can be used to suppress the generation of
new and updated files. Effectively, this allows you to see what the
stylesheet would do, without actually making any changes.Only applies when XSLT-based chunking is being used.feedback.hrefurifeedback.hrefHREF (URI) for feedback link
<xsl:param name="feedback.href"></xsl:param>
DescriptionThe feedback.href value is used as the value
for the href attribute on the feedback
link. If feedback.href
is empty, no feedback link is generated.feedback.link.textstringfeedback.link.textThe text of the feedback link
<xsl:param name="feedback.link.text">Feedback</xsl:param>
DescriptionThe contents of this variable is used as the text of the feedback
link if feedback.href is not empty. If
feedback.href is empty, no feedback link is
generated.feedback.with.idsbooleanfeedback.with.idsToggle use of IDs in feedback
<xsl:param name="feedback.with.ids" select="0"></xsl:param>
DescriptionIf feedback.with.ids is non-zero, the ID of the
current page will be added to the feedback link. This can be used, for
example, if the feedback.href is a CGI script.filename-prefixstringfilename-prefixPrefix added to all filenames
<xsl:param name="filename-prefix"></xsl:param>
DescriptionTo produce the text-only (that is, non-tabular) layout
of a website simultaneously with the tabular layout, the filenames have to
be distinguished. That's accomplished by adding the
filename-prefix to the front of each filename.footer.hrbooleanfooter.hrToggle <HR> before footer
<xsl:param name="footer.hr" select="1"></xsl:param>
DescriptionIf non-zero, an <HR> is generated at the bottom of each web page,
before the footer.header.hrbooleanheader.hrToggle <HR> after header
<xsl:param name="header.hr" select="1"></xsl:param>
DescriptionIf non-zero, an <HR> is generated at the bottom of each web page,
before the footer.output-rootfilenameoutput-rootSpecifies the root directory of the website
<xsl:param name="output-root">.</xsl:param>
DescriptionWhen using the XSLT processor to manage dependencies and construct
the website, this parameter can be used to indicate the root directory
where the resulting pages are placed.Only applies when XSLT-based chunking is being used.rebuild-allbooleanrebuild-allIndicates that all files should be produced
<xsl:param name="rebuild-all" select="0"></xsl:param>
DescriptionWhen using the XSLT processor to manage dependencies and construct
the website, this parameter can be used to regenerate the whole website,
updating even pages that don't appear to need to be updated.The dependency extension only looks at the source documents. So
if you change something in the stylesheet, for example, that has a global
effect, you can use this parameter to force the stylesheet to rebuild the
whole website.
Only applies when XSLT-based chunking is being used.sequential.linksbooleansequential.linksMake sequentional links?
<xsl:param name="sequential.links" select="0"></xsl:param>
DescriptionFIXMEsuppress.homepage.titlebooleansuppress.homepage.titleSuppress title on homepage?
<xsl:param name="suppress.homepage.title" select="1"></xsl:param>
DescriptionFIXME:If non-zero, the title on the homepage is suppressed?table.spacer.imagefilenametable.spacer.imageInvisible pixel for tabular accessibility
<xsl:param name="table.spacer.image">graphics/spacer.gif</xsl:param>
DescriptionThis is the 1x1 pixel, transparent pixel used for the table trick to increase the accessibility of the tabular
website presentation.Navigation Parametersbanner.before.navigationbooleanbanner.before.navigationPut banner before navigation?
<xsl:param name="banner.before.navigation" select="1"></xsl:param>
DescriptionFIXMEnavbgcolorcolornavbgcolorThe background color of the navigation TOC
<xsl:param name="navbgcolor">#4080FF</xsl:param>
DescriptionThe background color of the navigation TOC.Only applies with the tabular presentation is being used.navbodywidthlengthnavbodywidthSpecifies the width of the navigation table body
<xsl:param name="navbodywidth"></xsl:param>
DescriptionThe width of the body column.Only applies with the tabular presentation is being used.nav.table.summarystringnav.table.summaryHTML Table summary attribute value for navigation tables
<xsl:param name="nav.table.summary">Navigation</xsl:param>
DescriptionThe value of this parameter is used as the value of the table
summary attribute for the navigation table.Only applies with the tabular presentation is being used.navtocwidthlengthnavtocwidthSpecifies the width of the navigation table TOC
<xsl:param name="navtocwidth">220</xsl:param>
DescriptionThe width, in pixels, of the navigation column.Only applies with the tabular presentation is being used.textbgcolorcolortextbgcolorThe background color of the table body
<xsl:param name="textbgcolor">white</xsl:param>
DescriptionThe background color of the table body.Only applies with the tabular presentation is being used.ToC Parameterstoc.blank.graphicbooleantoc.blank.graphicUse graphic for "blanks" in TOC?
<xsl:param name="toc.blank.graphic" select="1"></xsl:param>
DescriptionIf non-zero, "blanks" in the the TOC will be accomplished
with the graphic identified by toc.spacer.image.
Only applies with the tabular presentation is being used.toc.blank.imagefilenametoc.blank.imageThe image for "blanks" in the TOC
<xsl:param name="toc.blank.image">graphics/blank.gif</xsl:param>
DescriptionIf toc.blank.graphic is non-zero, this image
will be used to for "blanks" in the TOC.Only applies with the tabular presentation is being used.toc.blank.textstringtoc.blank.textThe text for "blanks" in the TOC
<xsl:param name="toc.blank.text"> </xsl:param>
DescriptionIf toc.blank.graphic is zero, this text string
will be used for "blanks" in the TOC.Only applies with the tabular presentation is being used.toc.pointer.graphicbooleantoc.pointer.graphicUse graphic for TOC pointer?
<xsl:param name="toc.pointer.graphic" select="1"></xsl:param>
DescriptionIf non-zero, the "pointer" in the TOC will be displayed
with the graphic identified by toc.pointer.image.
Only applies with the tabular presentation is being used.toc.pointer.imagefilenametoc.pointer.imageThe image for the "pointer" in the TOC
<xsl:param name="toc.pointer.image">graphics/arrow.gif</xsl:param>
DescriptionIf toc.pointer.graphic is non-zero, this image
will be used for the "pointer" in the TOC.Only applies with the tabular presentation is being used.toc.pointer.textstringtoc.pointer.textThe text for the "pointer" in the TOC
<xsl:param name="toc.pointer.text"> > </xsl:param>
DescriptionIf toc.pointer.graphic is zero, this text string
will be used to display the "pointer" in the TOC.Only applies with the tabular presentation is being used.toc.spacer.graphicbooleantoc.spacer.graphicUse graphic for TOC spacer?
<xsl:param name="toc.spacer.graphic" select="1"></xsl:param>
DescriptionIf non-zero, the indentation in the TOC will be accomplished
with the graphic identified by toc.spacer.image.
Only applies with the tabular presentation is being used.toc.spacer.imagefilenametoc.spacer.imageThe image for spacing the TOC
<xsl:param name="toc.spacer.image">graphics/blank.gif</xsl:param>
DescriptionIf toc.spacer.graphic is non-zero, this image
will be used to indent the TOC.Only applies with the tabular presentation is being used.toc.spacer.textstringtoc.spacer.textThe text for spacing the TOC
<xsl:param name="toc.spacer.text"> </xsl:param>
DescriptionIf toc.spacer.graphic is zero, this text string
will be used to indent the TOC.Only applies with the tabular presentation is being used.The StylesheetThe param.xsl stylesheet is just a wrapper
around all these parameters.
<!-- This file is generated from param.xweb -->
<xsl:stylesheet exclude-result-prefixes="src" version="1.0">
<!-- ********************************************************************
$Id: param.xweb 7076 2007-07-18 16:20:33Z xmldoc $
********************************************************************
This file is part of the DocBook XSL Stylesheets distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
copyright and other information.
******************************************************************** -->
<src:fragref linkend="autolayout-file.frag"></src:fragref>
<src:fragref linkend="header.hr.frag"></src:fragref>
<src:fragref linkend="footer.hr.frag"></src:fragref>
<src:fragref linkend="feedback.href.frag"></src:fragref>
<src:fragref linkend="feedback.with.ids.frag"></src:fragref>
<src:fragref linkend="feedback.link.text.frag"></src:fragref>
<src:fragref linkend="filename-prefix.frag"></src:fragref>
<src:fragref linkend="output-root.frag"></src:fragref>
<src:fragref linkend="dry-run.frag"></src:fragref>
<src:fragref linkend="rebuild-all.frag"></src:fragref>
<src:fragref linkend="nav.table.summary.frag"></src:fragref>
<src:fragref linkend="navtocwidth.frag"></src:fragref>
<src:fragref linkend="navbodywidth.frag"></src:fragref>
<src:fragref linkend="textbgcolor.frag"></src:fragref>
<src:fragref linkend="navbgcolor.frag"></src:fragref>
<src:fragref linkend="toc.spacer.graphic.frag"></src:fragref>
<src:fragref linkend="toc.spacer.text.frag"></src:fragref>
<src:fragref linkend="toc.spacer.image.frag"></src:fragref>
<src:fragref linkend="toc.pointer.graphic.frag"></src:fragref>
<src:fragref linkend="toc.pointer.text.frag"></src:fragref>
<src:fragref linkend="toc.pointer.image.frag"></src:fragref>
<src:fragref linkend="toc.blank.graphic.frag"></src:fragref>
<src:fragref linkend="toc.blank.text.frag"></src:fragref>
<src:fragref linkend="toc.blank.image.frag"></src:fragref>
<src:fragref linkend="suppress.homepage.title.frag"></src:fragref>
<src:fragref linkend="body.attributes.frag"></src:fragref>
<src:fragref linkend="sequential.links.frag"></src:fragref>
<src:fragref linkend="currentpage.marker.frag"></src:fragref>
<src:fragref linkend="banner.before.navigation.frag"></src:fragref>
<src:fragref linkend="table.spacer.image.frag"></src:fragref>
</xsl:stylesheet>