UK TeX FAQ -- question label readML

### 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 practical solution to 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.

`xmltex`
  macros/xmltex/base (or browse the directory)
`passivetex`
  macros/xmltex/contrib/passivetex (or browse the directory)

This question on the Web: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=readML