xml format attributes and stuff