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:[email protected]] > Sent: Wednesday, June 24, 2009 12:08 PM > To: [email protected] > 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: [email protected] > For additional commands, e-mail: > [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
