Subject: RE: [xsl] cascading for name templates vs match templates From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Date: Thu, 9 May 2002 12:59:15 +0100 |
Use xsl:import rather than xsl:include if you want to override named templates. Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Mattias > Konradsson > Sent: 08 May 2002 18:39 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: [xsl] cascading for name templates vs match templates > > > When you include stylesheets containing templates matching > the same elements > they're cascaded in the order they're added and the templates actually > defined in the stylesheet taking priority, but this doesn't > seem true for > template with name attributes where I'm getting an "duplicit > name" error > when including stylesheets that has the same name as another. > I'd really > like this to work like match templates so I can "inherit" > templates if they > exist, is there any way to do that or is it just the way it is? > > best regards > --- > Mattias Konradsson > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] cascading for name templa, Joerg Heinicke | Thread | [xsl] Javascript looping expression, Zoe Peng |
RE: [xsl] Output XML doc with XSL d, Michael Kay | Date | RE: [xsl] XSLT/XPath 2.0 (was "Iden, Michael Kay |
Month |