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] clean and mode-less param switching ideas


You could put a <xsl:choose> inside the param and have different
<xsl:when>s for different contexts. 

David 

> -----Original Message-----
> From: Shane Handford [mailto:shandford@castlerockresearch.com] 
> Sent: Wednesday, June 24, 2009 12:08 PM
> To: docbook-apps@lists.oasis-open.org
> Subject: [docbook-apps] clean and mode-less param switching ideas
> 
> Does anyone have any ideas on how I could affect global 
> stylesheet params such as body.font.family for different 
> sections of my output?
> 
> eg. a book in two parts - first and second parts use separate fonts.
> 
> saxon:assign is too risky and unpredictable.
> 
> I rather not recreate templates with modes to switch the font.
> 
> I'm probably going to fork out my code to use a different 
> param based on context.  Just wondering if anyone has any 
> other suggestions.
> 
> Thanks !
> 
> ~Shane
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: 
> docbook-apps-help@lists.oasis-open.org
> 
> 


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