cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hunsberger, Peter" <>
Subject RE: Confused about xsl:include
Date Thu, 12 Dec 2002 19:10:28 GMT
> The above template match="title" works fine if I paste it into the main
xsl file.  But if 
> instead, right there in it's place, in the main xsl, I put this:
> <xsl:include href="stylesheets/other.xsl"/>
> to include the above file, the match is no longer applied in the output.
I'm perfectly open to > other ways of doing this.  I'm just getting started.

So in-other-words there is no main matching template in the XSL doing the
include?  It sounds like the default template in the primary is being picked
up and it of course is not ever going to apply your included template.  

This isn't a Cocoon problem, you can test your code in any XSLT
debugger/editor (Xslerator for example).  Spend some time at and check out the list archive there
(search on default templates)...

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message