Tralics is a free software whose purpose is to convert a LaTeX document into an XML file. WWW: http://www-sop.inria.fr/marelle/tralics/