[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: RE: CALS Tables & CSS
> 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
|
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
|