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

Re: xsl attributes - include and import

Subject: Re: xsl attributes - include and import
From: "Tamsin" <tamsin@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 31 Jul 2000 16:34:25 +0100
tamsin
Theres quite a lot of it!  The relevant parts (I think!) are:

AttributeSets.xsl:

<?xml version='1.0'?>
   <xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
    <xsl:attribute-set name="data">
      <xsl:attribute name="cellspacing">0</xsl:attribute>
      <xsl:attribute name="cellpadding">5</xsl:attribute>
      <xsl:attribute name="border">1</xsl:attribute>
    </xsl:attribute-set>
</xsl:stylesheet>

Address.xsl has the following sort of stuff in it:

<xsl:template name="addresslist">
<TABLE xsl:use-attribute-sets="data">....

And the main page has:

<xsl:import href="AttributeSets.xsl"/>
<xsl:import href="Address.xsl"/>
...
 <xsl:apply-templates select="addresslist"/>...

which doesn't work.  But if I do <xsl:include href="Address.xsl"/> then it
does.  I'm using Xalan, and haven't got round to trying it in another
processor yet.
Thanks for any help!
Tamsin




----- Original Message -----
From: <Paul_Dick@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxx>
Sent: Monday, July 31, 2000 3:06 PM
Subject: Re: xsl attributes - include and import


>
> Tamsin,
>
> Can you post your files so I can take a look and them and attempt to
> reproduce the problem.
>
> Paul
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 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.