This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: xsl attributes - include and import
- To: <xsl-list at mulberrytech dot com>
- Subject: Re: xsl attributes - include and import
- From: "Tamsin" <tamsin at bryncadfan dot fsnet dot co dot uk>
- Date: Mon, 31 Jul 2000 16:34:25 +0100
- References: <OFBA525F5F.09090FDF-ON8525692D.004D5EC6@lotus.com>
- Reply-To: xsl-list at mulberrytech dot com
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