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

how to insert/include the text/data in a separate (but

Subject: 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 10:52:26 -0500
insert css
I am curious as to how I can add the .css material from a separate .css
file into the HTML <HEAD></HEAD> .

Originally I was adding a <LINK> to an external css. 
But I am thinking it would better to embed the CSS stuff into the 
<STYLE>
<!--
....X.....
-->
</STYLE>

of the output HTML.

Now in the place of X I would like to simply enter the entire material
from the .CSS file using XSL/XML.

Reason why I need to do this:
1. Independent CSS file that can be independently edited and modified
(inserted into the O/P on the fly)
2. Embedding the CSS stuff instead of linking to an external file will
allow us to e-mail the outputs out to people without having to worry
about multiple files or linking to an external .CSS

I tried and <xsl:include> and <xsl:import> don't work.

I read some stuff about using XML include but I am not really sure how I
can do this to "GET" external text file.

Better ways of doing this ?
Suggestions please ?

Abhishek Sanwal
HP - Houston Campus
abhishek.sanwal@xxxxxx



 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.