cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "peter" <pe...@silmaril.ie>
Subject Re: AW: AW: Cforms dates and data destinations
Date Wed, 24 May 2006 12:01:28 GMT
On Wed, 24 May 2006 10:20:36 +0200, Christofer Dutz wrote
> If you add a tag called "head" anywhere in your template, then 
> CForms will add all CForm stuff (CSS, JavaScript, ... everything 
> that belongs into a html head-tag) it needs inside this tag. All you 
> have to do in any transformation is to "move" the entire content to 
> the place it belongs to using a simple <xsl:copy-of select="//head"/>

Umm. There's already a head element in the template, 
which is the sample one from the Cocoon documentation at 
http://cocoon.apache.org/2.1/userdocs/basics/sample.html:

  <head>
    <title>Registration form</title>
  </head>

Using the sample transformation from the same place
(forms-samples-styling.xsl), the output is appearing as:

  <head xmlns:bu="http://apache.org/cocoon/browser-update/1.0">
    <title>Registration form</title>
  </head>

Obviously something is missing but I can't see what.

///Peter



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


Mime
View raw message