On Apr 14, 2008, at 7:28 AM, Magnus Haraldsen Amundsen wrote:
The XSLT has the c: namespace also,

<xsl:stylesheet
       xmlns:c="http://xmlns.computas.com/cocoon";
       xmlns:skos="http://www.w3.org/2004/02/skos/core#";
       xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
       xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
       xmlns:dct="http://purl.org/dc/terms/";
       xmlns:sub="http://xmlns.computas.com/sublima#";
       xmlns:foaf="http://xmlns.com/foaf/0.1/";
       xmlns:sparql="http://www.w3.org/2005/sparql-results#";
       xmlns="http://www.w3.org/1999/xhtml";
       version="1.0">

I have multiple templates that follow the same syntax as the one for the Form template, and they all work with my XSLT except for the Form template.

Do I need the fd: ft: fi: namespaces defined in my XSLT?

Only if you use these namespaces in XSLT.

Did you check the XML output from JX generator? Just add map:serialize type="xml" after generator and before your XSLT. If output looks right then problem is with the stylesheet. You did not mention what happens after these apply-templates are called:

<xsl:apply-templates select="c:page/c:content/c:resourceform"
mode="forms-page"/>

<xsl:apply-templates select="c:page/c:content/c:resourceform"
mode="forms-field"/>

There might be a problem with c:resourceform template.

Vadim



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

Reply via email to