Andrew Koper > XML & CSS

XML is going to transform the Internet. XML is going to revolutionize the Internet. XML instead of HTML is goint to take the Internet to the next level. It's an atomic bomb of productivity and power waiting to go off. Given that the XML 1.0 was made official in 1989, it's kind of amazing that more isn't done with it. Ever so slowly, it is being used more and more.

The following are three files that show the essense of converting a XML file into a HTML file with CSS (and XSL):

1.xml   1.xsl   1.css

Click on 1.xml to see the transformation.

Download the three files to your PC and open in a text editor to see the actual files to see how it works. Note:

  1. You can style XML tags directly with CSS, but the official/proper way to have a properly made HTML page is to use an XSL file.
  2. The link to the XSL file in the header of the XML file.
  3. The link to the CSS file in the header of the XSL file. This keeps the CSS separate from the HTML tags, as is proper now.