Click to See Complete Forum and Search --> : XML Parser???


jimcheng
June 27th, 2001, 05:36 PM
Hi,

I need to parse some XML file and dump the data into database. What is the best tool/language to do it? How about visual basic?
Cause I already write some small VBA program to extract data from some software and output it into XML files.

Thanks!

Jim Cheng

Ritu Raj Tiwari
June 29th, 2001, 08:36 PM
Java has probably the best APIs for parsing/manipulating XML. If you want scripting convenience, you could use Perl's XML parsing framework. Both also have convenient APIs for database access. Java's JDBC is probably better than Perl's DB access in that it is more standard and most DB servers come with JDBC drivers. VB would tie you to Win32.

-Tiwari

S BUTLER
July 8th, 2001, 08:35 PM
You can use VB with the MSXML3 parser. This dll
transforms the file to a DOM (Document Object Model). Additionally the parser provides programming acces to the SAX (more of an inline parser). I have used both of these in a corporate environment with success.