Using TeX to read SGML or XML directly
This can nowadays be done, with a certain amount of clever macro
programming. David Carlisle’s xmltex is the prime example;
it offers a solution (of sorts) for typesetting XML files.
One use of a TeX that can typeset XML files is as a backend
processor for XSL formatting objects, serialized as XML.
Sebastian Rahtz’s PassiveTeX uses xmltex to
achieve this end.
However, modern usage would proceed via XSL or XSLT2 to
produce a formattable version.
- xmltex
- macros/xmltex/base (or browse the directory); catalogue entry
- passivetex
- macros/xmltex/contrib/passivetex (or browse the directory); catalogue entry
This question on the Web: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=readML