You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by MORÁVEK Peter <mo...@pobox.sk> on 2001/01/18 14:04:08 UTC

XSLT XT Transformation

Hello,

I want to use the XT translator, but I have problem with included
stylesheets:

if i write to xsl document this :

<xsl:include href="../folder/xhead.xsl"/>

with Xalan everything works fine.

But with XT I become this error:

java.lang.Error: unexpected exception: java.net.MalformedURLException: no
protocol: ../main2/xhead.xsl at
com.jclark.xsl.dom.XSLTransformEngine.createTransform(XSLTransformEngine.jav
a, Compiled Code) at
org.apache.cocoon.transformer.XTTransformer.transform(XTTransformer.java,
Compiled Code) at
org.apache.cocoon.processor.xslt.XSLTProcessor.process(XSLTProcessor.java,
Compiled Code) at org.apache.cocoon.Engine.handle(Engine.java, Compiled
Code) at org.apache.cocoon.Cocoon.service(Cocoon.java, Compiled Code) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:865) at
allaire.jrun.servlet.JRunSE.service(JRunSE.java, Compiled Code) at
allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java, Compiled Code) at
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.jav
a, Compiled Code) at allaire.jrun.servlet.JRunSE.service(JRunSE.java,
Compiled Code) at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java,
Compiled Code) at allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java,
Compiled Code) at allaire.jrun.ThreadPool.run(ThreadPool.java, Compiled
Code) at allaire.jrun.WorkerThread.run(WorkerThread.java, Compiled Code) 

How should I reference the other file with templates ?

Thanks in advance 

Peter