Re: Reading XML stream using unmanaged c++
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Thu, 16 Nov 2006 12:45:27 -0500
The biggest problem with DOM is that it is tree-oriented with each child having a pointer
to its parent. This makes it impossible to create interesting structures such as shared
subtrees. I recently did a truly massive application in XML where we were building
internal hyperlinks to multiple subtrees; this is not possible in DOM. We studied this
problem and the prototype they had built couldn't build the kinds of hyperlinked
structures we needed (the XML ran on a server and we were serving up HTML pages to the
clients). DOM was designed by people who only saw trivial problems. Real problems can't
use it.
joe
On Thu, 16 Nov 2006 14:14:09 GMT, "David Ching" <dc@xxxxxxxxxxxxxxxxxxxxxx> wrote:
"Joseph M. Newcomer" <newcomer@xxxxxxxxxxxx> wrote in messageJoseph M. Newcomer [MVP]
news:ppjol21b4qupkov9tiodufb7jkqqs6clju@xxxxxxxxxx
I have used the ExPat library to handle XML; the MSXML stuff is rather
complex and if I
recall it is DOM-oriented, which is a really poor design.
I agree with MSXML being complex, but what's wrong with DOM? All the
parsers I've used to date use DOM, and it is great for short XML documents
(the only kind I use).
-- David
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- Follow-Ups:
- Re: Reading XML stream using unmanaged c++
- From: Daniel James
- Re: Reading XML stream using unmanaged c++
- From: David Ching
- Re: Reading XML stream using unmanaged c++
- References:
- Reading XML stream using unmanaged c++
- From: Mayur
- Re: Reading XML stream using unmanaged c++
- From: Joseph M . Newcomer
- Re: Reading XML stream using unmanaged c++
- From: David Ching
- Reading XML stream using unmanaged c++
- Prev by Date: Re: CWinThread and WM_QUIT
- Next by Date: Re: Is there a Unicode equivalent to ASCIIZ Stings?
- Previous by thread: Re: Reading XML stream using unmanaged c++
- Next by thread: Re: Reading XML stream using unmanaged c++
- Index(es):
Relevant Pages
|