[rewrite xml export] bar attributes