<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="entry.xsl"?>
<entry>
<title>October 1, 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. The XML does hot have
a DTD because it is so simple consisting of three elements,
a title, a subtitle, and a paragraph. The style sheet is
quite short. XSL is considered a better standard for
writing sylte sheets. I will probably try both on
this XML document.
</body>
</para>
<para>
<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.
</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.
</body>
</para>
<para>
<body>
The XML here is probably not optimal for XSL because the structure
is irregular with more than one paragraph per subtitle. Maybe there
is something I could do with a DTD to persuade XSL to loop through
all the elements. The for-each construct doesn't work as I expect.
</body>
</para>
<toplink/>
</entry>
