Most commonly, XML is used to transport data - it wasn't (so far as I know) designed to display data, although it is definitely possible.
You can style XML with CSS - much like you would do for an HTML page - though this is not the recommended method of formatting. Instead you should use XSLT, which essentially is a set of rules that transforms the XML into HTML.
An insight into XSLT can be found at the W3 Schools website.