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@...]
> Sent: Wednesday, June 24, 2009 12:08 PM
> To:
docbook-apps@...
> 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@...
> For additional commands, e-mail:
>
docbook-apps-help@...
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail:
docbook-apps-unsubscribe@...
For additional commands, e-mail:
docbook-apps-help@...