Jason Johnston wrote:
[me]
Umm. There's already a head element in the template, which is the sample one from the Cocoon documentation

Are your HTML elements by chance in the http://www.w3.org/1999/xhtml namespace, or another namespace? The CForms XSLT only matches elements in the null namespace. I've been tripped up by that before.

Yes, it was my own stupidity :-)
I had added a DocType Declaration to the top of the file for a modified copy of the XHTML DTD to help me learn the structure and be able to edit the file properly in Emacs/psgml, and of course the moment I commented it out, the problem disappeared. Grrr :-)

Thanks for all your suggestions. Now I just need to figure out how to write the validated form data to disk...

///Peter

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

Reply via email to