Add support for displaying unit from XML file