Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Who uses MSXML? 2

Status
Not open for further replies.

titanandrews

Programmer
Feb 27, 2003
130
US
Hi,
I was just wanting to get some feedback from anyone who has used MSXML (any version). The MSDN docs are not really good, but I did find a book on Amazon that may be very useful. If anyone has experience using this COM object from C++, that would be very helpful as that is the language I will be using. I don't really care how fast MSXML is. More important to me is how easy is it to use.


many thanks,

Barry
 
Hi Barry,

I've used MSXML 3.0 in a B2B project written in VB. I can say that it was pretty easy to figure out the methods and properties using the MSDN documentation. I used both the HTTP and DOM objects in the collection and had the project completed within 6 weeks.

Which book did you find on Amazon?

- Glen

Know thy data.
 
MSXML is the standard Microsoft implementation of the W3C XML standard. It contains both DOM (Document Object Model) and SAX (Simple API for XML) parsers.

DOM is suited for reading/writing smaller XML documents (less than 1mB in size). You load your XML doc into the DOM, then access it via it's properties.

SAX is suited for reading (only!) large XML files (up to 2gB or more). It works by raising events as it sees nodes in your XML. You just wait for the one you're interested in (building up a string in the meantime), and once you have a string that contains a complete XML node, you can then load it into a DOM for easy access.

Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 
Thanks for the replies. Glen, the book I found was "XML Application Development with MSXML 4.0" It's one of the WROX books.
Could you point me to the MSDN online docs? I was able to find MSXML stuff, but all I see are examples. The examples are useful, but I would like to see the entire API, which is extremely hard to find or maybe I am just stupid.


thanks,

Barry
 
Thanks for the link! This will help greatly. It looks like VB would be easier to use, but I guess that's just because using COM objects in C++ is a bit odd to me anyway. It would be nice if C++ had some wrapper functions to make the programming go a little easier.



Barry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top