cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Blake <>
Subject Re: Does <apply-imports> work?
Date Mon, 18 Nov 2002 20:29:07 GMT
Hi Joerg,

Thanks for your reply.

I'm using cocoon 2.1-dev and xalan 2.3.1. I don't know what you mean by 
"Is XSLTC already used by default?".

The problem is this:

I have a stylesheet with the following matcher:

     <xsl:template match="psi:pageContent" name="psi_pageContent" 
          <xsl:apply-templates select="psi:pageHead" 
          <xsl:apply-templates select="psi:pageBody" 
          <xsl:apply-templates select="psi:pageFoot" 

and another stylesheet that imports the above stylesheet with an 
overriding  matcher:

     <xsl:template match="psi:pageContent" name="psi_pageContent" 

However, the apply-imports on the second stylesheet does not appear to 
work - ie. the matcher in the imported sheet is not called. Have I done 
something obviously silly?

Thanks again,

On Tuesday, November 19, 2002, at 04:58 AM, Joerg Heinicke wrote:

> Phil Blake wrote:
>> Hi all,
>> I'm having a problem with <apply-imports> applying any imports.
>> Can someone in-the-know assure me that <apply-imports> is functional? 
>> Also, if there is any trick to using it as I haven't seen it work yet 
>> and I think I've got a pretty simple example.
>> Thanks in advance,
>> Phil
> It should work in general, what's your problem? What Cocoon and Xalan 
> version are you using? Is XSLTC already used by default?
> Joerg
> ---------------------------------------------------------------------
> 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