Nelson: HTML preprocessor

Nelson is a HTML preprocessor and well-formedness checker. It extends HTML with several crucial elements otherwise missing from the language, for example elements for marking up footnotes and figures (images with captions). On preprocessor output, the new elements are converted to XHTML 1.0 Strict markup, making Nelson fully compatible with all current Web browsers and other HTML reading software.

Nelson is implemented as a classic Unix style filter, making it easy to integrate into custom page production workflows. Preprocessor input is expected to follow the XML well-formedness rules, but no validation against any DOCTYPE is performed (even if a DOCTYPE prologue is present). Apart from the conversion performed on special Nelson recognized elements, the document is passed through unchanged. This allows the output to be passed down a pipeline for futher processing, if needed.

... to be continued ...