[XSL-LIST Mailing List Archive Home]
Re: Overriding templates
Subject: Re: Overriding templates|
From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx>
Date: Tue, 28 Nov 2000 14:22:44 +0000
> I am trying to override a template located in an included xsl files
> with a template in the including file. However, it seems that the
> priority does not change anything in my case.
> I tried therefore an import, but the imported template has still
> precedence over the one in the importing file.
> Am I missing something ?
Probably. Both of these should work, as long as you are setting the
priority high enough, so it seems likely that for some
reason the template in the importing/including stylesheet isn't
actually matching whatever it is that you think it should be matching.
Perhaps you've mis-spelt something in the match pattern or the
overriding template is more specific and doesn't actually match the
source XML that you think it does?
Posting the overridden and overriding templates, and the relevant
portion of the source XML, might give us more clues.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list