[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

xsl attributes - include and import

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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.