xml parser initial steps