cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: Unable to get transformer handler...
Date Tue, 01 Jul 2003 19:20:40 GMT
Hello James,

James Cummings wrote:
> Hiya,
> 
> I'm really new to cocoon so am probably doing something completely
> wrong.  But using cocoon 2.1m3-dev, I want to grab a particular
> elment by id() from an xml file in the first step of a pipeline,
> and convert the result to html in the second step. In each
> instance I want the parameters in the URI available to the xslt.
> 
> The transformation works perfectly fine on the command line
> (with saxon), but I keep getting "Unable to get transformer handler
> for style/xsl/repos2rdg.xsl" as an error (with "Eception in creating Tranform
> Handler").

it's the XSLTC error message.

> Looking through possible bugs, I should say that the xsl is fairly straight
> forward and does not use <xsl:applyimports> or <xsl:include> or anything
> referencing another document except the xml file's dtd (which provides
> necessary entities and such). I've tried specifying type="xslt" in the
> <map:transform> since (I believe?) this makes it use Xalan?  But to no
> avail.

type="xslt" is the default, so XSLTC. Try type="xalan".

(xslt => xalan, xsltc => xsltc is true for Cocon 2.0.x)

Joerg

> My sitemap.xmap in the context contains:
> 
> <map:match pattern="antiphons.xml">
>    <map:generate src="content/repository.xml"/>
>    <map:transform type="xslt" src="style/xsl/repos2rdg.xsl">
>    <map:parameter name="use-request-parameters" value="true"/>
>    </map:transform>
>    <map:transform type="xslt" src="style/xsl/rdg2html.xsl">
>    <map:parameter name="use-request-parameters" value="true"/>
>    </map:transform>
>    <map:serialize type="html"/>
> </map:match>
> 
> I'm sure I'm probably going about it completely wrong or something,
> but this is basically the first time I'm trying to get cocoon to do
> something in two steps instead of one. ;-)  It is probably something
> really simple.
> 
> Any suggestions (on and/or off-list -- I get it via digest)?
> 
> -James


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


Mime
View raw message