The definition of different views can be written in a language, such as XSLT, that is used to transform XML documents into other types of documents, such as HTML or XML. The XSLT is designed for use as part of XSL that has an XML vocabulary for specifying formatting semantics.