Mr Initial Man
11-23-2005, 12:43 PM
Forgive me if you find this a supremely stupid question, BUT...
Is CSS used for anything other than HTML documents?
Is CSS used for anything other than HTML documents?
|
Click to See Complete Forum and Search --> : Uses for CSS Mr Initial Man 11-23-2005, 12:43 PM Forgive me if you find this a supremely stupid question, BUT... Is CSS used for anything other than HTML documents? LiLcRaZyFuZzY 11-23-2005, 01:02 PM yes, it can also be used with xml http://www.w3.org/TR/CSS21/intro.html# Mr Initial Man 11-24-2005, 11:28 PM I though XML was supposed to be styled using XSL LiLcRaZyFuZzY 11-25-2005, 04:03 AM yes, but you can style it with CSS too http://www.w3.org/TR/CSS21/intro.html#q2 felgall 11-25-2005, 02:58 PM Whether you use XSL or CSS to style XML depends on what you are trying to do. Unless you need significant transformations to the setup (such as outputting HTML) you may find that CSS can handle everything needed to style the XML and CSS is easier to read (most of the time) than XSL that does the same styling. Mr Initial Man 11-25-2005, 05:34 PM So it's not wrong (or at least a hack) to use CSS with XML? LiLcRaZyFuZzY 11-25-2005, 05:49 PM no, it is not webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |