The XML Format preferences panel is opened from menu
.The formatting preferences specific for XML files are the following:
<root> text <parent> <child></child> </parent> </root>
<root> text <parent> <child/> </parent> </root>
<root> text <parent> <child/> </parent> </root>