<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="entry.xsl"?>
<entry>
<title>November 2, 2005</title>

<extlink>
<mylink>index.xml</mylink>
<linktext>
Index file
</linktext>
</extlink>

<para id="p1">
<subtitle>I am going to make a link to an External Page</subtitle>
<body>
I am going to add a new element to this page called "extlink" that
will contain items for the anchor and the link text. This will generalize
the linkage for the simple links used already. A link to an HTML page
created with Open Office 2 on this system in the same directory as this
XML file follows this paragraph. I will add the rule to turn it into
an HTML anchored link in the entry.xsl file.
</body>
</para>

<extlink>
<mylink>051102.html</mylink>
<linktext>
Link to html page for today.
</linktext>
</extlink>

<para>
<body>
I added the rules for the "toplink" empty element and the new
"extlink" with the anchored part "mylink" and the text for it, called
"linktext" to the dtd file.
</body>
</para>

<toplink/>

<para>
<subtitle>I wonder what happens with an empty paragraph body?</subtitle>
<body>
</body>
</para>

<para>
<subtitle></subtitle>
<body>
</body>
</para>

<para>
<subtitle>The DTD for this XML is alittle loose</subtitle>
<body>
I did two tests of degeneracy. I made a completely empty para, well-formed
XML alright, but no text in subtitle or paragraph body. The evidence for
that is the lone bullet in the TOC. That signifies an empty paragraph,
"para" element. The item above has an empty "para/body" element, but since
it has a subtitle, that appears in the TOC..
</body>
</para>

<toplink/>

<para>
<subtitle>And now a link to another XML page in the current direcory</subtitle>
<body>
As a final test, the following is a external link to another XML page in
this directory. When I learn Xlink, I will be able to make bidirectional
links to/from the other XML file.
</body>
</para>

<extlink>
<mylink>
051030.xml
</mylink>
<linktext>
Link another XML page, here..
</linktext>
</extlink>


</entry>
