RE: [xsl] conflict resoltion for template rules when importing stylesheets

Subject: RE: [xsl] conflict resoltion for template rules when importing stylesheets
From: "Andrew Welch" <awelch@xxxxxxxxxxxxxxx>
Date: Mon, 9 Dec 2002 11:16:17 -0000

> No, I think you have to do
> 
> <xsl:template match="root/node">
>   <xsl:apply-imports/>
> </xsl:template>
> 
> to explictly pass it on. And if you use parameters you can't do it at
> all.
> 
> David

Thanks for the suggestion, its a bit of a pain to copy through all of
the possible combinations of the match, but it works well enough.  It
would be nice to have an attribute on the template in the importing
stylesheet such as @find-better-match="yes" that would apply the usual
conflict resolution rules as if the imported stylesheets had been
included...

cheers
andrew 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread