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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

  • <xsl:pi> Gontzal Fresno Astorki
    • Jörg Heinicke

Reply via email to