We have passed the first barrier
Hmm, maybe some changes to '\n' would be later.
Text test
Input tree:
<page:page> <page:body> <page:h page:outline-level="3">Text:</page:h> \n <page:strong>strong</page:strong> \n <page:emphasis>emphasis</page:emphasis> \n <page:blockcode>blockcode</page:blockcode> \n <page:code>monospace</page:code> </page:body> </page:page>
Output:
=== Text: ===\n'''strong'''\n''emphasis''\n{{{blockcode}}}\n`monospace`
Text:
strong emphasis blockcode monospace
Table test
Input tree:
<page:page> <page:body> <page:h page:outline-level="3">Table:</page:h> \n <page:table> <page:table-body> <page:table-row> <page:table-cell>A</page:table-cell> <page:table-cell>B</page:table-cell> <page:ta ble-cell page:number-rows-spanned="2">D</page:table-cell> </page:table-row> <page:table-row> <page:table-cell page:number-columns-spanned="2">C</page:table-cell> </page:table-row> </page:table-body> </page:table> </page:body> </page:page>
Output:
=== Table: ===\n||A||B||<|2>D||\n||||C||\n\n
Table:
A |
B |
D |
C |
List test
Input tree:
<page:page> <page:body> <page:h page:outline-level="3">List:</page:h> \n <page:list page:item-label-generate="unordered"> <page:list-item> <page:list-item-body>A</page:list-item-body> </page:list-item> <page:list-item> <page:list-item-body>B</page:list-item-body> </page:list-item> </page:list> </page:body> </page:page>
Output:
=== List: ===\n * A\n * B\n
List:
- A
- B