<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="entry.xsl"?>
<entry>
<title>February 2, 2007</title>
<extlink>
  <mylink>index.html</mylink>
  <linktext>Journal Index file</linktext>
</extlink>
<extlink>
  <mylink>http://brucesalem.blogspot.com</mylink>
  <linktext>My Blog on Google</linktext>
</extlink>
<extlink>
  <mylink>scripts/feedback.html</mylink>
  <linktext>Feedback Form</linktext>
</extlink>
<para id="p1">
<subtitle>XML on Play Site</subtitle>
<body>
I wanted to use XML to simplify simple journal page design and generate HTML for
it through a external style sheet. An advantage of this is that different style
sheets could be used dynamically for the same data and the data files are small
possibly storable in a database instead of lots of little files. I have had the
simple XML and style sheets working for some time, but broke the data definition
part (DTD).
</body>
</para>
<para id="p2">
<subtitle>XML DTD</subtitle>
<body>
I am back to editing this with xemacs. This file is also an experiment in restoring a DTD
to the XML source. At one point the DTD broke the XML so that it wouldn't display through
the style sheet, but using one of the editors for XML which I tried yesterday I discovered
that there was a missing comma. Lets see if that fixes the DTD. It does, this page now
displays,which means that the DTD is legal and the style is properly applied to the XML.
Now, I will copy the DTD and XML file to the other site that uses MAMP and test there.
This error was only due to the fact that I didn't also copy the XSL file. The files are
<i>entry.dtd</i> and <i>entry.xsl</i> and an XML file like this.
</body>
</para>
<toplink/>
</entry>
