[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

xsl attributes - include and import


Subject: xsl attributes - include and import
From: "Tamsin" <tamsin@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 31 Jul 2000 08:59:29 +0100

Hiya, wonder if anyone can help?

I have three stylesheets:

Attributesets.xsl contains attribute set information
address.xsl contains address templates, in which I want to use the attribute
sets above
page.xsl which needs to import or include both the above.

If in page.xsl I do:

<xsl:import href="Address.xsl"/>
<xsl:import href="Attributesets.xsl"/>

then when I use the templates in address.xsl they don't pick up on the
attribute sets.
but if I do

<xsl:include href="Address.xsl"/>
<xsl:import href="Attributesets.xsl"/>

then they do.  I've read about precedence, but I don't see why this should
be - there are no other templates or attribute sets with the same names
anyway.

Thanks for any help!
Tamsin



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



Current Thread