XML example [was RE: Difference 'twixt XHTML and XML?]

by Christopher Higgs <c.higgs(at)landfood.unimelb.edu.au>

 Date:  Wed, 03 May 2000 12:38:39 +1000
 To:  hwg-basics(at)hwg.org
 References:  edu
  todo: View Thread, Original
For those who wanted an example of xml, I've put together a very simple 
page at:

   http://203.5.69.47/xmlpage.xml

You will need IE5 to view it!  Here is the code for the XML page:

<.?xml version="1.0"?>
<.?xml-stylesheet type="text/css" href="xmlpage.css"?>
<.page>
   <.title>My XML page<./title>
   <.paragraph>This page used <.tag>PAGE<./tag>, <.tag>TITLE<./tag>, 
<.tag>PARAGRAPH<./tag> and <.tag>TAG<./tag> tags.<./paragraph>
<./page>


And for the CSS:
title	{ font-family: helvetica;
	    		font-size: 24pt;
	    		color: blue;
	    		display: block;
			margin: 2% 0% }	

page  	{ font-family: helvetica;
			font-size: 12pt;
			color: orange;
			font-style: italic;
			display: block;
			margin: 0% 5%; }

tag  	{ font-family: helvetica;
			font-size: 12pt;
			color: red;
			font-style: italic;
			display: inline;
			margin: 0% 5%; }


Chris Higgs <c.higgs(at)landfood.unimelb.edu.au>
Institute of Land and Food Resources
University of Melbourne http://www.landfood.unimelb.edu.au

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA