File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes Can I use CSS in XSLT? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Can I use CSS in XSLT?" Watch "Can I use CSS in XSLT?" New topic
Author

Can I use CSS in XSLT?

Qi Liang
Greenhorn

Joined: Jun 04, 2003
Posts: 28
Hi,

I have some CSS files used in current product. Now I am required to generate HTML with XLST from XML data. But I am not sure whether I can use the CSS style in XSLT?

Thanks!

Cliff Liang
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
Good question. Never looked into this at all. Most of my work was developing XSL's but never combined it with CSS. Interesting...

- m


Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Check out the zip file at this link: http://www.dotnetpitstop.com/Examples/ShowHighlightedExample.aspx?Example=XMLwithXSLandCSS

Eric
Qi Liang
Greenhorn

Joined: Jun 04, 2003
Posts: 28
It works.

Thanks!

Cliff Liang
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can I use CSS in XSLT?