Re: [xsl] how to insert/include the text/data in a separate (but local) .css file into an HTML O/P using XSL

Subject: Re: [xsl] how to insert/include the text/data in a separate (but local) .css file into an HTML O/P using XSL
From: "WebShark" <webshark@xxxxxxx>
Date: Sat, 4 Oct 2003 19:26:26 +0200
Yes, importing css in a external file is much better.


----- Original Message ----- 
From: "Robert Koberg" <rob@xxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, October 02, 2003 10:18 PM
Subject: RE: [xsl] 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.
> >
>
>
>
---
http://www.plumaslocas.com



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread