|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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@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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






