Difference between revisions of "XML"

From Wiki
Jump to navigation Jump to search
m (Reverted edits by Jacintheford (talk) to last revision by Hraban)
(8 intermediate revisions by 6 users not shown)
Line 2: Line 2:
  
 
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.
 
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, 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>. 
  
 
Here are some links to existing docs:
 
Here are some links to existing docs:
  
==XML/ConTeXt in general==
+
==Documents about XML in MkIV==
 +
 
 +
===General Information===
 +
*[http://pragma-ade.com/show-man-44.htm xml-mkiv.pdf]
 +
* [[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===
 +
* [[XML_Lua| XML in Lua]] (manipulating xml in Lua)
 +
 
 +
===XHTML in MKIV===
 +
* [http://dl.contextgarden.net/myway/tas/xhtml.pdf Thomas' MyWay on processing XHTML with MKIV]
 +
 
 +
 
 +
==Documents about XML in MkII (obsolete)==
 +
 
 +
===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
 
* [http://www.leverkruid.eu/context/index.html XML DocBook in ConTeXt] by Simon Pepping
Line 12: Line 31:
 
* 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 22: Line 41:
 
* [[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 28: Line 47:
 
* [[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 36: Line 55:
 
* [[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.
 
==XML in MKIV==
 
*[http://pragma-ade.com/show-man-43.htm xml-mkiv.pdf]
 
==XHTML in MKIV==
 
* [http://www.ntg.nl/pipermail/ntg-context/2010/047146.html Thomas' MyWay on processing XHTML with MKIV]
 
  
 
[[Category:XML]]
 
[[Category:XML]]

Revision as of 07:11, 29 August 2016

< Main Page | DocBook | MathML | Formatting Objects >

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, 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 XML in its commands, the new MkIV code uses lower-case xml.

Here are some links to existing docs:

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