You can use XSL to format XML documents. XSL specifications (style sheets) consist of a set of rules that define the transformation of an XML document into either an HTML document or a different XML document:
XSL specifications that transform an XML document into HTML can specify normal HTML formatting details in the output HTML.
XSL specifications that transform an XML document into another XML document can map the input XML document to an output XML document with different element names and phrase structure.
You can create your own style sheets to display particular classes for particular applications. XSL is normally used with presentation applications rather than with applications for data interchange or storage.