[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: RE: CALS Tables & CSS

Subject: RE: RE: CALS Tables & CSS
From: "Andrew Welch" <AWelch@xxxxxxxxxxxxxxx>
Date: Thu, 14 Aug 2003 11:28:06 +0100
cals tables
> 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.