VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Scalable XML Parsing Demo, featuring Microsoft's new MSXML SAX2 technology

David Drake  (5 Submissions)   String Manipulation   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

This demo allows you to compare and benchmark 3 methods of XML Parsing available to VB.


1. String Manipulation

The first method is basic VB string manipulation, using functions such as Instr() and Mid().


2. MSXML Document Object Model

The second method uses the DOM methods provided with MSXML.


3. MSXML 3.0 SAX2

The final method uses the new SAX2 technology provided with MSXML 3.0.



The benchmarking results will prove that SAX2 scales linearly while the DOM and VB string methods scale exponentially. SAX2 proves to be a highly scalable solution for parsing large XML recordset.


This demo will be useful for those who are interesting in learning about XML parsing in VB, and especially useful for those who want to take advantage of Microsoft's new MSXML SAX2 technology. All the VB wrapper classes you will need are included with this demo.


Before you run this demo, you will need to install Microsoft's MSXML 3.0 library. For instructions, see the Instructions.txt file included with the project.


Don't forget to vote!!!

Rate Scalable XML Parsing Demo, featuring Microsoft's new MSXML SAX2 technology (6(6 Vote))

Download Scalable XML Parsing Demo, featuring Microsoft's new MSXML SAX2 technology

Scalable XML Parsing Demo, featuring Microsoft's new MSXML SAX2 technology Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters