Subject: Re: Precedence of template rules on xsl:import
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Fri, 4 Jul 2003 13:14:26 +0100
|
Marcus,
David C. wrote:
>> so I want that the order of the imports shouldn't matter.
> perhaps you want xsl:include not xsl:import.
I was just writing the same thing.
The other thing I noticed in the toolbar.xslt was that rather than:
<xsl:template match="button[parent::toolbar or parent::group/parent::toolbar]">
...
</xsl:template>
it would be a lot neater to write, and easier to understand:
<xsl:template match="toolbar/button | toolbar/group/button">
...
</xsl:template>
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|