This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: cascading for name templates vs match templates
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 9 May 2002 12:59:15 +0100
- Subject: RE: [xsl] cascading for name templates vs match templates
- Reply-to: xsl-list at lists dot mulberrytech dot com
Use xsl:import rather than xsl:include if you want to override named
templates.
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Mattias
> Konradsson
> Sent: 08 May 2002 18:39
> To: xsl-list@lists.mulberrytech.com
> 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