finished xml parser