simplify detail xml