Subject: Re: xsl attributes - include and import From: "Tamsin" <tamsin@xxxxxxxxxxxxxxxxxxxxxx> Date: Mon, 31 Jul 2000 16:34:25 +0100 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: xsl attributes - include and im, Paul_Dick | Thread | Re: xsl attributes - include and im, Paul_Dick |
RE: XSLT processor performance, Sebastian Rahtz | Date | Re: XSLT processor performance, Steve Muench |
Month |