Appending to an XML document

tbray at textuality.com tbray at textuality.com
Fri Dec 10 16:49:28 GMT 1999


From: Larry Watanabe <LWatanab at JetForm.com>
> If a log file can't easily be represented as a well-formed XML document,
> then that does indicate a problem with the spec. The XML spec does say
that
> it should be straigthforwardly usable; I don't think external parsed
> entities are a straightforward way of doing a simple operation such as
> append.

Seems to me the obvious solution is that for streaming apps like logfiles,
the smart thing to do is to represent them as a sequence of small XML docs.
That way, you can also load each one into memory, validate it, do all sorts
of clever things you wouldn't be able to do if you were trying to pretend
the stream was a single document. -Tim


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list