I've got this problem: I have a pipeline that correctly generates a xslt stylesheet.
<map:match pattern="prova"> <map:generate src="tests/page2xml.xsl"/> <map:transform src="tests/addimport.xsl"/> <map:serialize type="xml"/> </map:match>
This correctly generates this stylesheet:
<?xml version="1.0" encoding="UTF-8" ?>
- <#> <xsl:stylesheet xmlns:xsl="*http://www.w3.org/1999/XSL/Transform*">
<xsl:import href="*page2xml.xsl*" />
</xsl:stylesheet>
What's the problem? in another pipeline I use this stylesheet, but if my transformer is
<map:transform src="test.xsl"/>
where test.xsl is the generated stylesheet all works perfectly,
if my trasformer is
<map:transform src="cocoon:/prova"/>
my <xsl:import> does not work, and on the server console I get an error:
java.net.MalformerURLExeption: unknown protocol: cocoon
at hava.net.URL.<init>
...
...
at org.apache.xalan.xsltc.compiler.Import.parseContents
....
....
....
So... why? anyone have experienced the same problem?
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]