trace xml parser