← Prev in month ← Prev in thread

problems with using DOM to parse XML (yet again)

From
Derrick Pisani <>
To
Date
2002-04-26T17:21:15Z
ID
<>
Thread
problems with using DOM to parse XML (yet again)
I am sorry that I am resending this because those of you that have already
seen it and can't answerr will inadvertedly be trashing this once again, but
I really need help here as this is for my final year Uni thesis and I am
stuck (deep).

Derrick



Hi,

I am a newbie to XML, XML Parsing etc... and am trying to use the DOM
tutorial found at

http://members.fortunecity.com/seagull98/XmlTutorial.html

wich gives a simple example. I am trying to use the attached code to parse
an XML document, construct a DOM tree and traverse the tree and printing the
content. I found the code at the above site. I am also attaching my XML
file.

This is the error I am getting:

The external entity declaration must begin with either "SYSTEM" or "PUBLIC".
[Fatal Error] test.xml:2:21: The external entity declaration must begin with
either "SYSTEM" or "PUBLIC".

Can you help please assist me with this error and provide ideas as to what's
wrong?


Derrick
← Prev in month ← Prev in thread