Can some one help me with a sample code to read a simple xml using Stax and use those values in the insert statement to insert the data into db2 tables. For our program to read the data from xml and insert into db, we had used DOM parser which is taking huge time hence we wish to use STax parser.Thanks in Advance.