Katelbach Tibor 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
> 
> 
> Isn't it possible to do this??? or is it a bug??
> Thanks for the help
> 
> Tibor

I think that this is the same problem I had, and I guess that it is a bug -
but with a workaround:

When I used 

#{document} 

I got an error like you describe, but when I changed this to 

#{document/xan:result} (the extra xan:result, i guess it works with
#{document/*} also),

I got it working with a following transformation.

I call the sitemap like this

SendPage(toto,"document" : document)

I hope this is of help to you.

Askild
-


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

Reply via email to