Both IE6 and NS7 provide support for XML with CSS1 (version 1 of Cascading Style Sheet). To use CSS, you need to augment an XML document with a xml-stylesheet processing instruction. This results in the text that is in the file http://www.dur.ac.uk/barry.cornelius/papers/xml.processing.using.php/code/css1.xml.
<?xml version="1.0" standalone="no"?> <?xml-stylesheet type="text/css" href="css1.css"?> <!DOCTYPE consumables SYSTEM "consumables.dtd"> <consumables> ... </consumables>The type attribute of this xml-stylesheet processing instruction says that this XML document is to be transformed using a CSS stylesheet and the href attribute gives the URL of the file containing the actual CSS instructions.
The file css1.css might contain:
consumables { display: block } product { display: block } category { font-size: x-large; color: black } item { font-size: large; color: red } price { background-color: yellow; color: blue }