hi, Im a newbie and wondering why the xml file cant see the css file? I actually got this code on w3schools tutorial about xml-css but seems like it wont work on me. I got 3 files ;default.htm(embeded the xml file), cd_catalog.xml and cd_catalog.cssThe output was the content of the cd_catalog.xml with the css file in which I made reference with but same old same the code on cd_catalog.css wasnt implemented.1.) default.htm
<html><body><xml id="cdcat" src="cd_catalog.xml"></xml><table border="1" datasrc="#cdcat"><tr><td><span datafld="ARTIST"></span></td><td><span datafld="TITLE"></span></td></tr></table></body></html>
2.) cd_catalog.xml
<?xml version="1.0" encoding="ISO-8859-1"?><!-- Edited with XML Spy v4.2 --><?xml-stylesheet type="text/css" href="cd_catalog.css"?><CATALOG> <CD> <TITLE>Empire Burlesque</TITLE> <ARTIST>Bob Dylan</ARTIST> <COUNTRY>USA</COUNTRY> <COMPANY>Columbia</COMPANY> <PRICE>10.90</PRICE> <YEAR>1985</YEAR> </CD> <CD> <TITLE>Hide your heart</TITLE> <ARTIST>Bonnie Tyler</ARTIST> <COUNTRY>UK</COUNTRY> <COMPANY>CBS Records</COMPANY> <PRICE>9.90</PRICE> <YEAR>1988</YEAR> </CD></CATALOG>
3.) cd_catalog.css
CATALOG{background-color: #ffffff;width: 100%;}CD{display: block;margin-bottom: 30pt;margin-left: 0;}TITLE{color: #FF0000;font-size: 20pt;}ARTIST{color: #0000FF;font-size: 20pt;}country, price, year, company{display: block;color: #000000;margin-left: 20pt;}