DocBook DOM
- Output
DocBook v.5
Page Structure
Moin_Page element
DocBook equivalence
Comments
<page>
<article>
A <book> could be also used, but I prefer to keep it to regroup different item from the wiki into a one DocBook document
<body>
No equivalence
Body does not have sense in DocBook
<separator>
No equivalence
Need to see if there is a usual to draw line
Basic text Structure
Moin_Page element
DocBook equivalence
Comments
<h>
<sectX> + <title>
In DocBook the level of a section, is different than a title, but both are grouped in the meaning of the <h> attribute
<p>
<para>
I need to check, but if we are sure to put no any block element in a para, using simpara would be better
List
<list>
<itemizedlist> or <ordereredlist> or <variablelist>
The different type of list should be choose according to item-label-generate and list-style-type
<list-item>
<listitem> or <varlistentry>
Can depends of the type of the list
<list-item-label>
<term>
Only usable in <variablelist>
<list-item-body>
No equivalence
Can be convert into <para> since a <listitem> should have a <para> inside.
Table
Moin_Page element
DocBook equivalence
Comments
<table>
<table>
Need to determine the frame attribute.
<table-header>
<thead>
<table-footer>
<tfoot>
<table-body>
<tbody>
<table-cell>
<entry>
Paragraph Elements Content
Moin_Page element
DocBook equivalence
Comments
<line-break />
<sbr />
<span>
<phrase>
<span baseline-shift>
<superscript> or <subscript>
<span text-decoration>
No equivalence
It cannot be supported by DocBook
<span font-size>
No equivalence
Idem than previous one
<span html-element>
Depending the element
We handle some HTML element in this attribute, which can be used to retrieve the best DocBook element
<strong>
<emphasis role="strong">
We can see to handle that with role attribute
<emphasis>
<emphasis >
<code>
<literal>
Probably not the best choice
<blockcode>
<screen>
NB: Should use <!CDATA[ ]]> to disable markup recognition
<note>
<footnote>
Probably ignore note-body
<a xlink attrib>
<link `xlink attrib'>
Both use xlink attribute for link, so we can directly put the same attribute in the output.