cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Bachta" <tbac...@kopent.com>
Subject CSS in Cocoon
Date Mon, 09 Jun 2003 20:19:29 GMT
I am trying to use a stylesheet in a xsl page and am getting a null
pointer exception coming from my xsl page.  My syntax is below, I am new
to Cocoon so please excuse my mistakes.  I appreciate the help.

dialog.xsl

<xsl:param name="html.stylesheet" select="global.css'"/>
<xsl:param name="html.stylesheet.type">text/css</xsl:param>

sitemap

<map:match pattern="login">
<map:generate type="serverpages" src="xsp/login.xsp"/>
<map:transform type="xslt" src="style/dialog.xsl">
<map:parameter name="css-stylesheet" value="global.css"/>
</map:transform>
<map:serialize type="html"/>
</map:match>
			
<map:match pattern="global.css">
<map:read src="global.css" mime-type="text/css"/>
</map:match>

Thank you 

Tim B


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message