Joern Nettingsmeier wrote:
hi *!


i have a custom module that implements a cforms-based doctype.  pages of
this type need special css styles (not the default stuff that's defined
in my publication's page2html.xsl).

problem is: the xsl of a module is supposed to produce a <div
id="body"/>, i.e. no chance to add another <link rel="stylesheet"../> to
the header.

what's the cleanest way to accomplish this? i want this solution to work
with different publications (i.e. no modification of
publication-specific code) and with an unpatched lenya (i.e. no
modification of core code).

I guess it's not possible without modifying publication code.

You could add another format to the resource type which produces a
complete XHTML including <head>, or just the XHTML head, or just
the CSS:

  <format name="xhtml-page" uri="..."/>


-- Andreas


--
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                     [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to