You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ramsés Morales <Ra...@cwpanama.com> on 2002/07/12 01:52:31 UTC

xsl:include does nothing

Hi.

Inside the xslt file called by the xslt transformer, on the sitemap, I
have one xsl:include. I'm trying to <xsl:apply-templates
select="whatever"/>, but it is like the match isn't done.

I'm using Cocoon2.0.2, Tomcat4.0.4.

I used to do that with cocoon1 and always worked fine.

This is the sitemap snippet:

<map:match pattern="">
  <map:generate src="xml-content/pagina-principal.xml"/>
  <map:transform src="stylesheets/pagina-principal.xsl"/>
  <map:serialize/>
</map:match>

Thanks for your help.




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

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


Re: xsl:include does nothing

Posted by Joerg Heinicke <jo...@gmx.de>.
The problem description is a bit to imprecise. You should at least post 
some XML and XSLT code. Or have a look into the log files, maybe an 
error occured.

Joerg

Ramsés Morales wrote:
> Hi.
> 
> Inside the xslt file called by the xslt transformer, on the sitemap, I
> have one xsl:include. I'm trying to <xsl:apply-templates
> select="whatever"/>, but it is like the match isn't done.
> 
> I'm using Cocoon2.0.2, Tomcat4.0.4.
> 
> I used to do that with cocoon1 and always worked fine.
> 
> This is the sitemap snippet:
> 
> <map:match pattern="">
>   <map:generate src="xml-content/pagina-principal.xml"/>
>   <map:transform src="stylesheets/pagina-principal.xsl"/>
>   <map:serialize/>
> </map:match>
> 
> Thanks for your help.


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

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