Next in thread → Next in month →

Re: [docbook-apps] Draft watermark not working. No specificcustomization.

From
spr <>
Date
2008-03-08T19:01:33+00:00
ID
Thread
Re: [docbook-apps] Draft watermark not working. No specificcustomization.
Thanks Keith,

Only this works:
<xsl:param name="draft.mode">yes</xsl:param>

But in my full customization projects, i have many params set as:
  <xsl:param
    name   = "draft.mode"
    select  = "yes" />

Infact, all stylesheets are formatted this way.
Since, i am a 'C' programmer, this formatting helps me in easy understanding
& modification.

I am still curious why only this param (of the ones i have used) behaves
differently.

~spr


Keith Fahlgren-3 wrote:
> 
> On Sat, Mar 8, 2008 at 4:25 AM, spr <> wrote:
>>  I have a very basic customization - only to set the draft.mode to "yes"
>>  (see attached).
> ...
> <xsl:param name="draft.mode" select="yes"/>
> 
> 
> (xsl:param's are funny) I think you've set the draft.mode to the value
> of the XPath yes rather than the string value yes. Try either
> 
> <xsl:param name="draft.mode" select="'yes'"/>
> 
> or
> 
> <xsl:param name="draft.mode">yes</xsl:param>
> 
> 
> HTH,
> Keith
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
> 
> 
> 


-----
~spr
-- 
View this message in context: http://www.nabble.com/Draft-watermark-not-working.-No-specific-customization.-tp15912867p15918932.html
Sent from the docbook apps mailing list archive at Nabble.com.
Next in thread → Next in month →