XML of Darkness

David Megginson (ak117@freenet.carleton.ca)
Wed, 10 Dec 1997 15:07:48 -0500


I have put online a rough-and-ready version of Conrad's HEART OF
DARKNESS, with an XML 1.0 DTD and markup. You can get at the document
through the following URL:

http://home.sprynet.com/sprynet/dmeggins/texts/

You may, of course, simply download the document and parse it on your
local system; however, if you happen to have an active Internet
connection, it's much more interesting (and much more in line with the
XML philosophy) to parse the document directory from its source URL:

http://home.sprynet.com/sprynet/dmeggins/texts/darkness/darkness.xml

For example, with Ūlfred (http://www.microstar.com/XML/), you would
type

java EventDemo http://home.sprynet.com/sprynet/dmeggins/texts/darkness/darkness.xml

and watch the events roll down your screen. I have not tried this yet
with other XML parsers like Lark or MSXML.

For a _really_ fun test in the future, I might put different chapters
of the book on different Internet hosts (you could still parse it
through a single top-level URL). This is where XML can be exciting
for managing distributed information.

All the best,

David

-- 
David Megginson                 ak117@freenet.carleton.ca
Microstar Software Ltd.         dmeggins@microstar.com
      http://home.sprynet.com/sprynet/dmeggins/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@ic.ac.uk the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)