VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



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

by David Drake (5 Submissions)
Category: String Manipulation
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (6 Votes)

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

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

Download Scalable XML Parsing Demo, featuring Microsoft's new MSXML SAX2 technology (21 KB)

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

No comments have been posted about Scalable XML Parsing Demo, featuring Microsoft's new MSXML SAX2 technology. Why not be the first to post a comment about Scalable XML Parsing Demo, featuring Microsoft's new MSXML SAX2 technology.

Post your comment

Subject:
Message:
0/1000 characters