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

Access to CSS during a transform.

Subject: Access to CSS during a transform.
From: Adam Van Den Hoven <Adam.Hoven@xxxxxxxxxxxx>
Date: Mon, 4 Dec 2000 09:42:08 -0800
access css
I was wondering if it is possible to access CSS values while doing an XSL
Transform. I'm thinking of a situation where we generate XHTML from our XML
Data and then apply a transform to the XHTML to produce some early HTML. On
an element by element basisi, this is relatively easy but I'm wondering if I
can access the style attribute and all its properties. The idea would be to
transform:
	<p style="font-family: arial;"> This is some text</p>
of
	<style>P {font-family:arial;}</style>
	<p> This is some text</p>
into
	<p><font face="arial">This is some text</font></p>
as painful as that is. 

It seems to me that it should be possible to access CSS if its provided in
the source XML. This would mean that it should be possible (if alot of slow
work) to take a very complete XHTML docuement with CSS 2+ and produce a
workable (if far less useful) solution for a legacy browser. 

Thanks,
> 		Adam van den Hoven
> 		Internet Application Developer
> 		Blue Zone
> 		tel. 604.685.4310
> 		fax. 604.685.4391
> 
> Blue Zone makes you interactive. http://www.bluezone.net/
> 
> 
> 
> 


 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.