Hi Norm,
No fix is needed, as draft.mode is not a boolean parameter. It has three
possible text values (yes, no, maybe), and has since at least 2002. The
param is correctly documented in:
http://docbook.sourceforge.net/release/xsl/current/doc/fo/draft.mode.html
Bob Stayton
Sagehill Enterprises
[EMAIL PROTECTED]
----- Original Message -----
From: "Norman Walsh" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, March 12, 2008 5:04 AM
Subject: [docbook-apps] Re: Draft watermark not working. No specific
customization.
/ "Keith Fahlgren" <[EMAIL PROTECTED]> was heard to say:
| On Sat, Mar 8, 2008 at 4:25 AM, spr <[EMAIL PROTECTED]> wrote:
|> I have a very basic customization - only to set the draft.mode to "yes"
|> (see attached).
| ...
| <xsl:param name="draft.mode" select="yes"/>
Almost all of the "boolean" parameters in the XSLT stylesheets use "0"
and "1" for false and true, respectively. As bob explained later in
the thread, select="yes" matches <yes> elements in no namespace and,
in DocBook at least, there aren't any.
How $draft.mode slipped through expecting the values 'no' or 'yes' is
beyond me. Bleh. Probably ought to fix that.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]