You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Gontzal Fresno Astorki <go...@sema.es> on 2001/08/27 14:30:23 UTC

I'm trying to do a transformation from an xml to another one with cocoon 2 and xslt.

When I call to the page, it returns 
"org.apache.cocoon.ProcessingException: Failed to execute pipeline.:java.lang.RuntimeException: Problem in getTransformer:null"

Is not this instruction correct ? <xsl:pi name="xml">version="1.0"</xsl:pi> in cocoon
 
Thanks

------------------------------------------------------------------
This email is confidential and intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of SchlumbergerSema. 
If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited.
------------------------------------------------------------------

Re:

Posted by Jörg Heinicke <jh...@virbus.de>.
Hello,

with the current namespace 
(xmlns:xsl="http://www.w3.org/1999/XSL/Transform") it must be 
<xsl:processing-instruction name="..">..</xsl:processing-instruction>.

But for what do you need a "hand-written" PI named 'xml'? If you set the 
outputformat to XML you will get the PI automatically. And if it's no XML 
you won't need it I think.

Joerg




Gontzal Fresno Astorki wrote:
> I'm trying to do a transformation from an xml to another one with cocoon 2 and xslt.
> 
> When I call to the page, it returns 
> "org.apache.cocoon.ProcessingException: Failed to execute pipeline.:java.lang.RuntimeException: Problem in getTransformer:null"
> 
> Is not this instruction correct ? <xsl:pi name="xml">version="1.0"</xsl:pi> in cocoon
>  
> Thanks


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>