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

RE: how to insert/include the text/data in a separate

Subject: RE: how to insert/include the text/data in a separate (but local) .css file into an HTML O/P using XSL
From: "SANWAL, ABHISHEK (HP-Houston)" <abhishek.sanwal@xxxxxx>
Date: Thu, 2 Oct 2003 16:28:08 -0500
insert text css
<style type="text/css" media="all">
  @import "css/default.css";
</style>

Question - will this "insert" the CSS text into the HTML file or plainly
link to the external .css file?
- From my knowledge it wont be embedded, but it will be linked ( I
think)

As such I wanted to not link to a CSS file but embed it just in case
someone saves the file locally and then emails it to someone else.

If this thing does that, then I have learned something new about CSS
@import.

I shall definitely give your suggestion a try.

Thanks,

Abhishek Sanwal
HP - Houston Campus
abhishek.sanwal@xxxxxx

-----Original Message-----
From: Robert Koberg [mailto:rob@xxxxxxxxxx] 
Sent: Thursday, October 02, 2003 3:18 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  how to insert/include the text/data in a separate
(but local) .css file into an HTML O/P using XSL

Hi,

Why not just do this and save the bandwidth:

<style type="text/css" media="all">
  @import "css/default.css";
</style>

Best,
-Rob


> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-
> list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of SANWAL, ABHISHEK
(HP-Houston)
> Sent: Thursday, October 02, 2003 12:04 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> 
> This is what I have done as per your suggestion.
> 
> <!DOCTYPE xsl:stylesheet [
> <!ENTITY qspcss SYSTEM "qsp.css">
> ]>
> .....
> 
> <style type="text/css">
> <xsl:comment>
> &qspcss;
> </xsl:comment>
> </style>
> 
> Works like a charm :). Not a biggie but maybe this should go into Dave
> Pawsons FAQ as:
> 
> "Adding a .CSS to the output of your HTML-XSL " or something of the
> sort.
> 



 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

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.