Open main menu

Difference between revisions of "XML"

m (Reverted edits by Jacintheford (talk) to last revision by Hraban)
(explain the linked information)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
< [[Main Page]] | [[DocBook]] | [[MathML]] | [[Formatting Objects]] >
+
__TOC__
  
If you want to get more from your code than just a PDF (or DVI) output, e.g. HTML, or if you need a good typesetting machine for your XML code, you're right with ConTeXt.
+
Handling XML in ConTeXt has improved dramatically with the advent of MkIV. A new infrastructure, based on Lua, makes typesetting, manipulating, filtering, and reusing XML much much easier than before. Unfortunately, this means that most of the existing documentation is now obsolete. In general, the "old" MkII code uses upper-case <tt>XML</tt> in its commands, the new MkIV code uses lower-case <tt>xml</tt>.
  
Handling XML in ConTeXt has improved dramatically with the advent of MkIV. A new infrastructure, based on Lua, makes typesetting, manipulating, filtering, reusing XML much much easier than before. Unfortunately, this means that most of the existing documentation is now obsolete. As a rule of thumb: in general, the "old" MkII code uses upper-case <tt>XML</tt> in its commands, the new MkIV code uses lower-case <tt>xml</tt>. 
+
=Documents about XML in MkIV=
  
Here are some links to existing docs:
+
==General Information==
  
==Documents about XML in MkIV==
+
* [[manual:xml-mkiv.pdf|''Dealing with XML in ConTEXt MkIV'']]: the official manual that explains everything. Too hard to be a good starting point (unless you excel at XPath).
 +
* [[manual:math-mkiv.pdf|''MathML in MkIV'']]: also official document to math typesetting with XML sources.
 +
* [[TEI_xml| TEI XMLl]]: example of TEI--encoded source typeset with ConTeXt.
 +
* [[DocBook]]: example of how to typeset DocBook sources with help of a ConTeXt module.
 +
* [[Formatting Objects|Formatting XML Objects]]: not (yet?) available for MkIV.
 +
* [[Verbatim_XML | Verbatim in XML]]: how to typeset XML sources verbatim in final text.
 +
* [[xtables#XML | Processing XML tables as Extreme Tables]]: example about XML tables as ConTeXt tables (extreme or natural).
 +
* [http://dl.contextgarden.net/myway/tas/xhtml.pdf XHTML in MkIV]: link not (yet?) available.
 +
* [[Ctx| Processing of Ctx XML files]]
  
===General Information===
+
==Processing XML with lua==
*[http://pragma-ade.com/show-man-44.htm xml-mkiv.pdf]
+
* [[XML_Lua| XML in Lua]] (manipulating XML in Lua)
* [[TEI_xml| TEI xml]] (typesetting editions encoded in TEI xml)
 
* [[Verbatim_XML | Verbatim/VIM in XML]]
 
* [[xtables#XML | Processing XML tables as Extreme Tables]]
 
  
===Processing XML with lua===
+
==XHTML in MKIV==
* [[XML_Lua| XML in Lua]] (manipulating xml in Lua)
+
* [http://dl.contextgarden.net/myway/tas/xhtml.pdf Thomas' MyWay on processing XHTML with MKIV]: link not (yet?) available.
  
===XHTML in MKIV===
 
* [http://dl.contextgarden.net/myway/tas/xhtml.pdf Thomas' MyWay on processing XHTML with MKIV]
 
  
 +
=Documents about XML in MkII (obsolete)=
  
==Documents about XML in MkII (obsolete)==
+
==XML/ConTeXt in general==
 
 
===XML/ConTeXt in general===
 
 
* [[manual:example.pdf|XML in ConTeXt]] by Pragma (2001)
 
* [[manual:example.pdf|XML in ConTeXt]] by Pragma (2001)
* [http://www.leverkruid.eu/context/index.html XML DocBook in ConTeXt] by Simon Pepping
+
* [https://tug.org/TUGboat/tb24-3/pepping.pdf XML DocBook in ConTeXt] by Simon Pepping
 
* [http://getfo.sourceforge.net/context_xml/index.html XML ConTeXt] by Paul Tremblay
 
* [http://getfo.sourceforge.net/context_xml/index.html XML ConTeXt] by Paul Tremblay
* [http://www.pragma-ade.com/show-mag-9.htm Dealing with XML] by Pragma (about XML, XSLT and typesetting without TeX code)
+
* [http://www.pragma-ade.nl/show-mag-9.htm Dealing with XML] by Pragma (about XML, XSLT and typesetting without TeX code)
 
* XML Basics: [[Mixing_XML_and_ConTeXt]] using the pre-defined ContML vocabulary
 
* XML Basics: [[Mixing_XML_and_ConTeXt]] using the pre-defined ContML vocabulary
  
===Additions and Details of XML/ConTeXt===
+
==Additions and Details of XML/ConTeXt==
 
* [[manual:xfigures-p.pdf|Figures (XML image databases)]] ([[manual:xfigures-s.pdf|screen]]) by Pragma (2001); see [[Image Database]]
 
* [[manual:xfigures-p.pdf|Figures (XML image databases)]] ([[manual:xfigures-s.pdf|screen]]) by Pragma (2001); see [[Image Database]]
 
* [[Two pass tag processing example]] (float and figure tags)
 
* [[Two pass tag processing example]] (float and figure tags)
Line 41: Line 43:
 
* [[manual:xcorresp.pdf|Serial Letters]] (using a XML database) by Pragma (2003)
 
* [[manual:xcorresp.pdf|Serial Letters]] (using a XML database) by Pragma (2003)
  
===eXaMpLe framework===  
+
==eXaMpLe framework==  
 
(batch processing)
 
(batch processing)
 
* [[manual:ex-ample.pdf|Example Interface]] (empty)
 
* [[manual:ex-ample.pdf|Example Interface]] (empty)
Line 47: Line 49:
 
* [[manual:ex-imple.pdf|Eximple Toolkit]] (simple subset of Example)
 
* [[manual:ex-imple.pdf|Eximple Toolkit]] (simple subset of Example)
  
===MathML===
+
==MathML==
 
* [[manual:pre-mml.pdf|MathML Intro presentation]] by Pragma
 
* [[manual:pre-mml.pdf|MathML Intro presentation]] by Pragma
 
* [[manual:mmlprime.pdf|MathML manual]] by Pragma (2001)
 
* [[manual:mmlprime.pdf|MathML manual]] by Pragma (2001)
Line 55: Line 57:
 
* [[manual:xphysml-p.pdf|PhysML (MathML extension for physics)]] ([[manual:xphysml-s.pdf|screen]]) by Pragma
 
* [[manual:xphysml-p.pdf|PhysML (MathML extension for physics)]] ([[manual:xphysml-s.pdf|screen]]) by Pragma
  
===XSL/FO===
+
==XSL/FO==
 
* XSL/FO: [[Formatting Objects]]
 
* XSL/FO: [[Formatting Objects]]
 
* [[ConTeXt FO and XML]] is a tutorial with a view to presenting ConTeXt from the XSL-FO mindset.
 
* [[ConTeXt FO and XML]] is a tutorial with a view to presenting ConTeXt from the XSL-FO mindset.
  
 
[[Category:XML]]
 
[[Category:XML]]

Latest revision as of 17:13, 5 June 2024

Handling XML in ConTeXt has improved dramatically with the advent of MkIV. A new infrastructure, based on Lua, makes typesetting, manipulating, filtering, and reusing XML much much easier than before. Unfortunately, this means that most of the existing documentation is now obsolete. In general, the "old" MkII code uses upper-case XML in its commands, the new MkIV code uses lower-case xml.

Documents about XML in MkIV

General Information

Processing XML with lua

XHTML in MKIV


Documents about XML in MkII (obsolete)

XML/ConTeXt in general

Additions and Details of XML/ConTeXt

eXaMpLe framework

(batch processing)

MathML

XSL/FO