xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Clark <an...@apache.org>
Subject Re: SAX Handler Question
Date Fri, 28 Jan 2000 19:07:53 GMT
James McCarthy wrote:
> I would like to keep the exact content of the input file or 
> portions of the input file that I am sending on.

Both standard APIs (DOM and SAX) are lossy. They do not 
communicate all of the information in the original source 
document. With SAX you can output an equivalent document
but not an identical one.

<tag/> and <tag></tag> produce the same set of DOM nodes
and SAX callbacks. So what's the difference?

Andy Clark * IBM, JTC - Silicon Valley * andyc@apache.org

View raw message