<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="entry.xsl"?>
<entry>
<title>October 18, 2005</title>
 
<extlink>
<mylink>index.xml</mylink>
<linktext>
Index file
</linktext>
</extlink>
 
<para>
<subtitle>XML for making simple Journal entries</subtitle>
<body>
I have been reading "XML for Dummies" by Ed Tittel.
This can be viewed directly with Mozilla on Red-Hat 9
in a very nice format defined by a cascading style sheet.
I don't know how portable this is. I gave the XML 
a DTD  consisting of five elements, the entry,
a title, a paragraph containing an optional subtitle and a required body.
The cascading style sheet is quite short. XSL now works correctly with
this XML document.
</body>
</para>

<para>
<subtitle>Added a DTD for this document</subtitle>
<body>
The rules for forming well-formed XML are pretty obvious. Make
tags balance and nest properly. A DTD would be necessary to
cope with greater complexity or to enforce a standard.  I changed
the original spec by including the subtitle as an optional element
within and a required paragraph body within the para element.
</body>
</para>

<para>
<subtitle>The style for this rendition of the XML</subtitle>
<body>
I was able to do farily sophistocated formatting in a few commands
including setting colors, font sizes, style, and fully justify the
text of the paragraphs. Obviously, there is some intermediate
stage which the browesr does that is equivalant to HTML, but it is
not explicit. If I look at the page source of the rendered page, it
is just the XML file. It might be nice to be able to output the HTML
for portability. It may be that XSL does that. I am still able to do
more with the CSS than the XLT, but I will get it figured out.
</body>
</para>
<toplink/>
</entry>
