Add the parse XML function and change the util package to common
package.