This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can I use CSS in XSLT?

 
Qi Liang
Greenhorn
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5040
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good question. Never looked into this at all. Most of my work was developing XSL's but never combined it with CSS. Interesting...

- m
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out the zip file at this link: http://www.dotnetpitstop.com/Examples/ShowHighlightedExample.aspx?Example=XMLwithXSLandCSS

Eric
 
Qi Liang
Greenhorn
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It works.

Thanks!

Cliff Liang
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic