You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by oceatoon <t....@systheo.com> on 2004/05/21 13:39:39 UTC

sitemap Pb: jxtemplate followed by an XSL transformation???

Hi 

I was wondering if anybody has encountered or heard of this problem since I
cant seem where it comes from:

I am retreiving information from a flow with jxtemplate then putting it into
a xml file and trying to transform it with xslt

comming from flow:

form.save(document); //from a CForm bind, document is a DOM tree
SendPage(toto,document);

in my toto.xml I recover document with :#{/} 
which is the content of the above document 

in my sitemap:
    <map:match pattern="toto">  
              <map:generate type="jx" src="toto.xml"/> 
             <map:transform type="xslt" src="htmlresult.xsl"/>   
                <map:serialize type="xml"/>
            </map:match>

Result:
-The jx evaluation works on its own 
-The transformation works on the result.xml (saved from the above process jx
without transformation)
???? but when I align the jx with the transformation I get an error
org.apache.cocoon.ProcessingException: Failed to execute pipeline


Isn't it possible to do this??? or is it a bug??
Thanks for the help

Tibor



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


Re: sitemap Pb: jxtemplate followed by an XSL transformation???

Posted by Upayavira <uv...@upaya.co.uk>.
oceatoon wrote:

>Hi 
>
>I was wondering if anybody has encountered or heard of this problem since I
>cant seem where it comes from:
>
>I am retreiving information from a flow with jxtemplate then putting it into
>a xml file and trying to transform it with xslt
>
>comming from flow:
>
>form.save(document); //from a CForm bind, document is a DOM tree
>SendPage(toto,document);
>
>in my toto.xml I recover document with :#{/} 
>which is the content of the above document 
>
>in my sitemap:
>    <map:match pattern="toto">  
>              <map:generate type="jx" src="toto.xml"/> 
>             <map:transform type="xslt" src="htmlresult.xsl"/>   
>                <map:serialize type="xml"/>
>            </map:match>
>
>Result:
>-The jx evaluation works on its own 
>-The transformation works on the result.xml (saved from the above process jx
>without transformation)
>???? but when I align the jx with the transformation I get an error
>org.apache.cocoon.ProcessingException: Failed to execute pipeline
>
>  
>
Can you give a fuller stacktrace?

Upayavira



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