Wiki2spec is an XSLT 2.0 stylesheet to generate W3C drafts out of mediawiki content.
wiki2spec-parameters.html
file (example). It provides information for
wiki2spec as a list of div
elements
with id
attributes:<div id="doctype">...</div>
: the type of draft.
Possible values: WD, CR, PR, REC.<div id="title">...</div>
: the title of the
draft.<div id="pubtype-plus-date">...</div>
: the type of
the draft and publication date, e.g. W3C Working Draft 23 May
2012
<div id="version-plus-authors">...</div>
:
Information about the version of the document and the authors list. Be
careful to use the same kind of markup as in the sample document.<div id="abstract">...</div>
: the abstract.<div id="status">...</div>
: the status section. Use
the sample document as a template
for your own status section.Transform the mediawiki content to W3C spec style via the W3C XSLT servlet. It can be called by the form below:
A sample transformation is available.
Version 0.1, May 2012. Very raw, only tested with one mediawiki input file.
Please provide feedback to Felix Sasaki.