xml select debug