Add colorization to AXMLTemplate