Scalable XML Parsing Demo, featuring Microsoft's new MSXML SAX2 technology!
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!!!
Original Author: David Drake
About this post
Viewed: 120 times
Posted: 9/3/2020 3:45:00 PM
Size: 21,096 bytes
No comments have been added for this post.
You must be logged in to make a comment.