This is a rather incomplete implementation of work done by Gudrun Putze-Meier
<gudrun.pm@t-online.de>. I have to confess that I never read her original
paper. So all credit belongs to her, all bugs are mine. I tried to get some
insight from an implementation of two students of mine. They remain anonymous
because their work was the wost piece of code I ever saw. My code behaves
mostly as their implementation did except it is about 75 times faster.
txt2tags is a format conversion tool written in Python that generates
HTML, XHTML, SGML, LaTeX, Lout, Man Page, MoinMoin, Magic Point and
PageMaker documents from a single text file with minimal markup.
From Gleydson Soares <mail@gsoares.org>
help & ok xsa@
Sort::Versions allows easy sorting of mixed non-numeric and numeric strings,
like the 'version numbers' that many shared library systems and revision
control packages use. This is quite useful if you are trying to deal with
shared libraries. It can also be applied to applications that intersperse
variable-width numeric fields within text. Other applications can
undoubtedly be found.
The cElementTree module is a C implementation of the ElementTree API. On
typical documents, it's 15-20 times faster than the Python version of
ElementTree, and uses 2-5 times less memory.
looks good & ok xsa@, mbalmer@
The ElementTree type is a simple but flexible container object, designed
to store hierarchical data structures, such as simplified XML infosets,
in memory. The element type can be described as a cross between a Python
list and a Python dictionary.
looks good & ok xsa@, mbalmer@