add xml paser initial functions