OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Reading a XML document embeeded in a logfile

[ Lists Home | Date Index | Thread Index ]
  • From: Richard Tobin <richard@cogsci.ed.ac.uk>
  • To: Thillai <thillai@ix.netcom.com>, "'xml-dev'" <xml-dev@ic.ac.uk>
  • Date: Mon, 19 Oct 1998 13:48:01 +0100 (BST)

> 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">
]>
<logfile>&logentries;</logfile>

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@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)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS