- From: Liam R E Quin <liam@w3.org>
- Date: Wed, 07 Dec 2011 21:19:16 -0500
- To: public-xml-core-wg@w3.org
I took an action item last week to find some XML documents on the Web styled with CSS. (1) Bert Bos has some examples, and also raises some problems, at http://www.w3.org/Style/styling-XML.en.html (2) Jesper Tverskov discusses CSS used for RSS (mostly ignored by Web browsers, he claims) and gives an example of "generic" XML with CSS http://www.xmlplease.com/xmlcss However, I found quite a few people writing about (and using) the technique of using CSS in their RSS feeds via the PI. (3) W3Schools always comes up high in search results... http://www.w3schools.com/xml/cd_catalog_with_css.xml is a not-very-useful example linked to from http://www.w3schools.com/xml/xml_display.asp (4) http://www.badgers-in-foil.co.uk/projects/docbook-css/ includes CSS for use with DocBook documents so you can view them in Mozilla or Opera (dates from November 1994) (5) http://tutorials.jenkov.com/svg/svg-and-css.html notes that you can style SVG with CSS using the xml-stylesheet PI (6) Eliot Rusty Harold recommends using multiple xml-stylesheet PIs with CSS, so that the styles are merged: http://www.ibm.com/developerworks/xml/library/x-tipstyl/index.html (7) (a guess) I suspect almost all "real world" examples are going to be in Intranets, because of the SEO impact of not using (X)HTML. Pretty much all the text-books on XML talk about using CSS for XML. (8) The XXE editor from Active Minds uses the xml-stylesheet PI with CSS to style the document for editing, as does oXygen XML in Author mode. Stylus Studio also does this, and possibly XMetaL. (9) The mozilla developer network hs an example at https://developer.mozilla.org/en/CSS/Getting_Started/XML_data (as do many other sites and tutorials). I could look into this some more if it would be of use... Liam -- Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/ Pictures from old books: http://fromoldbooks.org/
Received on Thursday, 8 December 2011 02:20:32 UTC