====== Using TeX to read SGML or XML directly ====== [[FAQ-context|ConTeXt (mark IV)]] can process some *ML, to produce typeset output directly. Details of what can (and can not) be done, are discussed in [[http://wiki.contextgarden.net/XML|The ConTeXt WIKI]]. ConTeXt is probably the system of choice for (La)TeX users who also need to work in XML (and friends). (Note that ConTeXt mark IV requires [[FAQ-luatex|LuaTeX]], and should therefore be regarded as experimental, though many people //do// use it successfully). Older systems also manage, using no more than (La)TeX macro programming, to process XML and the like. David Carlisle's [[ctanpkg>xmltex|xmltex]] is the prime example; it offers a solution for typesetting XML files, and is still in active (though not very widespread) use. 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 [[ctanpkg>xmltex|xmltex]] to achieve this end. However, modern usage would proceed via XSL or XSLT2 to produce a formattable version. ----- //Source:// [[faquk>FAQ-readML|Using TeX to read SGML or XML directly]] {{htmlmetatags>metatag-keywords=(LaTeX,misc) metatag-og:title=(Using TeX to read SGML or XML directly) metatag-og:site_name=(FAQ LaTeX francophone) }}