XML fragment for some simple text styling
<title>Some example text styles</title>
<text>
<content styleCode="bold">Some bold text</content><br/>
<content styleCode="underline">Some underlined text</content><br/>
<content styleCode="italics">Some italics text</content><br/>
<content styleCode="italics"><content styleCode="bold">Some bold and italics text</content></content><br/>
This is <sub>subscript</sub><br/>
This is <sup>superscript</sup><br/>
This is <content styleCode="underline"><sup>underlined superscript</sup></content><br/>
<footnote>This is a footnote</footnote>
</text>
Rendering from XML fragment for some simple text styling
Some example text styles
Some bold text
Some underlined text
Some italics text
Some bold and italics text
This is subscript
This is superscript
This is underlined
superscript
This is a footnote
XML Fragment for Paragraphs and Lists
<title>Paragraph and lists</title>
<text>
<paragraph styleCode="italics">This paragraph is italics</paragraph>
<paragraph styleCode="bold">This paragraph is in bold</paragraph>
<paragraph styleCode="underline">This paragraph is underlined</paragraph>
Here is an ordered list<list listType="ordered">
<item>item 1</item>
<item>item 2</item>
<item styleCode="bold">item 3 in bold</item>
</list>
<br/>
Here is an unordered list<list listType="unordered">
<item>item 1</item>
<item>item 2</item>
<item styleCode="bold">item 3 in bold</item>
</list>
<br/>
Here is an unordered list<list listType="unordered">
<caption>Caption for this list</caption>
<item>item 1</item>
<item>item 2</item>
<item styleCode="bold">item 3 in bold</item>
</list>
<br/>
</text>
Rendering from XML Fragment for Paragraphs and Lists
Paragraph and lists
This paragraph is italics
This paragraph is in bold
This paragraph is underlined
Here is an ordered list- item 1
- item 2
- item 3 in bold
Here is an unordered list
- item 1
- item 2
- item 3 in bold
Here is an unordered listCaption for this list:
- item 1
- item 2
- item 3 in bold
XML Fragment for a Table
<title>Table</title>
<text>
<table frame="box">
<tbody>
<tr>
<th>column one</th>
<th>column two</th>
</tr>
<tr>
<td>data row 1</td>
<td>data row 1</td>
</tr>
<tr>
<td>data row 2</td>
<td>data row 2</td>
</tr>
</tbody>
</table>
</text>
Rendering from XML Fragment for Table
Table
column one | column two |
---|---|
data row 1 | data row 1 |
data row 2 | data row 2 |