XSL(T) Tools for XHTML

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.

the RSS extractor
This XSLT applied on an XHTML document following certain markup conventions extracts an RSS 1.0 feed from it, allowing to turn your regular news page in an RSS feed which greatly raises the possible audience for your news
the XHTML document splitter
This XSLT applied on an XHTML document following certain markup conventions splits it in as many documents as it contains identified sections; it's useful to make smaller documents out of a big one. Note that it requires the saxon:output extension
the XHTML semantics extractor

This 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:

  • Generic metadata (title, author, used languages)
  • terms defined in the document
  • citations and quotes identified in the document
  • an outline/table of contents of the document, based on the structure defined by the headings
See also this style sheet applied to the XHTML 1.0 specification
the XHTML 1.0 to XHTML Basic convertor

This XSLT applied on an XHTML 1.0 (or XHTML 1.1) document converts it in XHTML Basic.

Valid XHTML 1.0!
Created Date: 2003-09-30 by Dominique HazaŽl-Massieux
Last modified $Date: 2004/07/26 09:52:39 $ by $Author: dom $

Copyright © 2000-2003 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply. Your interactions with this site are in accordance with our public and Member privacy statements.