Reading a XML document embeeded in a logfile

Richard Tobin richard at
Mon Oct 19 14:48:24 BST 1998

> I can introduce a root element called Logfile and append all the documents
> as a child.  But whenever I append a XML document I have to reposition 
> the pointer to rewrite XML document root tag.

I don't know if it would work in your particular case, but you might
be able to avoid this by having the document consist of something
like this:

<!DOCTYPE logfile [
<!ENTITY logentries SYSTEM "logentries">

and appending elements to the logentries external entity rather than
to the logfile itself.

-- Richard

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list