OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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 <spremi@yahoo.com> 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: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
> 
> 
> 


-----
~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.



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]