This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: xsl attributes - include and import


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@lotus.com>
To: <xsl-list@mulberrytech.com>
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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]