This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: cascading for name templates vs match templates


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]