Markup spec/DTD

This is a draft for an XML Syntax of Wikitax.

You could use an XML representation to


 * produce valid XHTML
 * produce printable output (for instance PDF with FO)
 * export to other XML formats (for instance DocBook)
 * perform automatic analysis on structure and layout of articles

I tried to write a simple Wikitax2XML-parser but the possibility to mix Wiki Syntax and invalid ''HTML is quite complicated. I better do the XML2Wikitax etc. stuff (you can convert XML syntax to Wikitax without a loss of information) Please add comments at Talk:Wikipedia DTD!'' --- Nichtich

The root element for a Wikipedia article is  ... 

[1] VARIABLE is one of CURRENTMONTH, CURRENTMONTHNAME, CURRENTDAY, CURRENTDAYNAME, CURRENTYEAR, CURRENTTIME, NUMBEROFARTICLES

[2] see [http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/wikipedia/phpwiki/newcodebase/OutputPage.php?rev=HEAD&amp;content-type=text/vnd.viewcvs-markup source code]; method removeHTMLtags for which HTML tags are passed through