One of the great things about XHTML is that it combines the well-known power of HTML as an hypertext markup language with the power of the tools developed to work on XML documents. Among those tools, one of the most ubiquitous technology developed for XML is the Extensible Style sheet Language (XSL), and especially its Transformation language that allows to transform a given XML document in another XML document with a set of declarative rules.
This document lists a set of style sheets that takes advantage of XHTML being an XML language to make your XHTML documents more re-usable.
saxon:output
extensionThis XSLT applied on an XHTML document outputs (in XHTML) a partial analysis of the semantics included in the given document; this is a good way to check that you use the semantics included in XHTML markup correctly or to get a quick overview of an XHTML document
The output of the tool includes:
This XSLT applied on an XHTML 1.0 (or XHTML 1.1) document converts it in XHTML Basic.