XML


XML
  • Used with XML-enabled web browsers to view XML files, using HTML presentation
  • XSL is more likely (than CSS) to be widely used with XML in the future
Sample CSS file
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;
}

Sample XML file
<?xml version="1.0" encoding="ISO8859-1" ?>
<?xml-stylesheet type="text/css" href="filename.css"?>
<catalog>
  <cd>
    <title>...</title>
    <artist>...</artist>
  </cd>
  ...
</catalog>

Resources URL: 
notes/css/resources
Sources URL: 
notes/css/sources

See Also