RE: [xsl] cascading for name templates vs match templates

Subject: RE: [xsl] cascading for name templates vs match templates
From: "Stuart Celarier" <stuart@xxxxxxxxxxx>
Date: Wed, 8 May 2002 12:13:13 -0700
Mattias, you didn't really specify if you are using <xsl:include> or
<xsl:import>. They are quite different. For reference, see the XSLT 1.0

What you describe sound possible, and it sounds like you'd like to be
using <xsl:import>. Check out <xsl:import> and <xsl:include> in the spec
or any XSLT textbook. If this doesn't solve your problem, please post a
brief, minimal example of your problem and include the name of the XSLT
processor you are using.


-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Mattias
When you include stylesheets containing templates matching the same
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
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
exist, is there any way to do that or is it just the way it is?

 XSL-List info and archive:

Current Thread