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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to