Objectmix
Tags Register Mark Forums Read

Moving from DOM to SAX : XML SOAP

This is a discussion on Moving from DOM to SAX within the XML SOAP forums in Framework and Interface Programming category; Hiya, Is there any documentation out there (preferably from Microsoft) for developers that want to move from MSXML_X DOM to MSXML6 SAX? Notes on compatibility, performance guide, etc...? I have been searching using goggle, without much success... Regards, Vivek...


Object Mix > Framework and Interface Programming > XML SOAP > Moving from DOM to SAX

Reply

 

LinkBack Thread Tools
  #1  
Old 08-25-2006, 05:19 AM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default Moving from DOM to SAX

Hiya,


Is there any documentation out there (preferably from Microsoft) for
developers that want to move from MSXML_X DOM to MSXML6 SAX? Notes on
compatibility, performance guide, etc...?

I have been searching using goggle, without much success...


Regards,

Vivek
  #2  
Old 08-25-2006, 05:36 AM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default Re: Moving from DOM to SAX

* Vivek wrote in microsoft.public.xml:
>Is there any documentation out there (preferably from Microsoft) for
>developers that want to move from MSXML_X DOM to MSXML6 SAX? Notes on
>compatibility, performance guide, etc...?


Your question is too vague to provide a good answer. If your application
does not need to maintain considerable state information, you will find
that SAX-based access is considerably faster and/or consumes less memory
than keeping the whole tree in memory. I don't see how compatibility can
be a concern here.
--
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
  #3  
Old 08-25-2006, 06:00 AM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default Re: Moving from DOM to SAX

Yes, right now, two sets of DOM trees are being utilized to store
application specific data into an XML file where the first DOM tree is
being used as the XML file that stores and saves the final XML file and
the second DOM tree for parsing sets of XML data from C++ IStreams (for
validation purposes) before it is appended into the first master DOM
tree with the DOM1.AppendChild(DOM2.GetDocument() [for example].

I did not design this, so yes, I understand this is certainly NOT the
best way of doing things.

Bjoern Hoehrmann wrote:
> * Vivek wrote in microsoft.public.xml:
>
>>Is there any documentation out there (preferably from Microsoft) for
>>developers that want to move from MSXML_X DOM to MSXML6 SAX? Notes on
>>compatibility, performance guide, etc...?

>
>
> Your question is too vague to provide a good answer. If your application
> does not need to maintain considerable state information, you will find
> that SAX-based access is considerably faster and/or consumes less memory
> than keeping the whole tree in memory. I don't see how compatibility can
> be a concern here.

Reply

Thread Tools


Similar Threads

Thread Thread Starter Forum Replies Last Post
Moving from FTP 6 to FTP 7 usenet Inetserver 7 11-28-2007 05:23 PM
Moving to vb.net from vba usenet DOTNET 4 10-11-2007 02:26 AM
moving companies moving loans moving budget usenet Microsoft Money 0 07-16-2007 08:28 PM
Moving to C# usenet DOTNET 4 01-11-2006 06:33 PM
Re: Moving from 6.5 to Pro usenet Adobe Premiere 0 05-30-2005 07:35 PM


All times are GMT -5. The time now is 01:03 AM.

Managed by Infnx Pvt Ltd.