2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3 xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
4 xmlns:exsl="http://exslt.org/common"
5 xmlns:set="http://exslt.org/sets"
7 exclude-result-prefixes="doc exsl set">
9 <!-- ********************************************************************
11 ********************************************************************
13 This file is part customization layer on top of the XSL DocBook
14 Stylesheet distribution that generates webhelp output.
16 ******************************************************************** -->
18 <xsl:import href="xhtml/chunk.xsl"/>
19 <xsl:include href="webhelp-common.xsl"/>
20 <xsl:include href="xhtml/titlepage.templates.xsl"/>
22 <xsl:param name="webhelp.base.dir">../webhelp-out</xsl:param>
23 <xsl:param name="html.stylesheet">../style/manual.css</xsl:param>
25 <!-- include our decoration style for Lustre versions. -->
26 <xsl:include href='../style/customstyle_common.xsl'/>
29 <!-- only match if the node doesn't qualify for chunking,
30 it does have a 'condition' attribute -->
31 <!--xsl:template match='*[not(self::set|self::self::book|self::part|self::preface|self::chapter|self::appendix|self::article|self::topic|self::reference|self::refentry|self::book/glossary|self::article/glossary|self::part/glossary|self::book/bibliography|self::article/bibliography|self::part/bibliography|self::colophon)]@condition]'-->
32 <!-- however, I can't get this to work, so instead, I will
33 just select the set that shouldn't find them selves being chunked.
34 This is not the right way to do this, and should be fixed. -->
36 <xsl:template match="*[self::para|self::glossentry|self::warning|self::note][@condition]">
37 <xsl:param name="content">
41 <xsl:call-template name='condition-decorator'>
42 <xsl:with-param name='content' select="$content"/>