cga2000 wrote: > Would anyone know whether I can use the same strategy to specify > alternate css stylesheets that I can switch to on the fly while browsing > the html document? > > Or do I need to specify the alternate CSS style sheets in the prolog of > each DocBook/XML document? > > At this point I modify the XSL fragment above and regenerate the html > documents every time I want to switch style sheets, which is slow and > error-prone.
You can emit all necessary link elements by overriding user.head.content template: <xsl:template name="user.head.content"> <link .../> <link .../> </xsl:template> -- ------------------------------------------------------------------ Jirka Kosek e-mail: [EMAIL PROTECTED] http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO/JTC1/SC34 member ------------------------------------------------------------------ Want to speak at XML Prague 2007 => http://xmlprague.cz/cfp.html
signature.asc
Description: OpenPGP digital signature
