Subject: RE: [xsl] RE: CALS Tables & CSS From: "Andrew Welch" <AWelch@xxxxxxxxxxxxxxx> Date: Thu, 14 Aug 2003 11:28:06 +0100 |
> hi Andrew, > > I followed for your instructions for CALS-XSL, now it > is working fine except BORDERS. I hope, if I include > the corresponding CSS it should work as well. > > can you please guide me where to link the CSS FILE & > please provide the corresponding CSS FILE. > > thanks, > smiley Ok this is getting more like html help than xslt... If you call the cals stylesheet 'cals_table.xsl', then you should import it into your main stylesheet which has the css block, something like: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:import href="cals_table.xsl"/> <xsl:output method="xml" omit-xml-declaration="yes" encoding="utf-8"/> <xsl:template match="/"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <style> .t {border-top-color:black ; border-top-style:solid; border-top-width:1} .b {border-bottom-color:black ; border-bottom-style:solid ; border-bottom-width:1} .l {border-left-color:black ; border-left-style:solid ; border-left-width:1} .r {border-right-color:black ; border-right-style:solid ; border-right-width:1} </style> </head> <body> <xsl:apply-templates/> </body> </html> </xsl:template> </xsl:stylesheet> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] RE: pass malformed HTML throu, Jaques, Yves (FIDI) | Thread | RE: [xsl] RE: CALS Tables & CSS, smiley |
Re: [xsl] passing variable through , David Carlisle | Date | RE: RE: [xsl] pass malformed HTML t, Gary Cornelius |
Month |