how xml is compatible with css and xsl?
Your CSS stylesheet is obviously designed to be applied directly to your XML: it contains selectors for cd , artist , country , etc. - these are all elements in your XML. These elements are not present in the result of the XSL transformation, that transforms your XML to an HTML document containing (mostly) a table.