/
test.dita
150 lines (150 loc) · 7.26 KB
/
test.dita
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<topic xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/"
class="- topic/topic "
id="test">
<title class="- topic/title ">Test</title>
<body class="- topic/body ">
<p class="- topic/p ">Paragraph <line-through class="+ topic/ph hi-d/line-through ">Text</line-through> <i class="+ topic/ph hi-d/i ">test</i> and <b class="+ topic/ph hi-d/b ">list</b>:</p>
<ul class="- topic/ul ">
<li class="- topic/li "><p class="- topic/p ">hyphen</p></li>
<li class="- topic/li "><p class="- topic/p ">list</p></li>
<li class="- topic/li "><p class="- topic/p ">item</p></li>
</ul>
<ul class="- topic/ul ">
<li class="- topic/li ">
<p class="- topic/p ">asterix</p>
<ul class="- topic/ul ">
<li class="- topic/li "><p class="- topic/p ">list</p></li>
</ul>
</li>
<li class="- topic/li "><p class="- topic/p ">item</p><ul class="- topic/ul ">
<li class="- topic/li "><p class="- topic/p ">nested</p></li>
</ul>
</li>
</ul>
<ol class="- topic/ol ">
<li class="- topic/li "><p class="- topic/p ">ordered</p></li>
<li class="- topic/li "><p class="- topic/p ">list</p></li>
<li class="- topic/li "><p class="- topic/p ">item</p><ol class="- topic/ol ">
<li class="- topic/li "><p class="- topic/p ">nested</p></li>
<li class="- topic/li "><p class="- topic/p ">list</p></li>
</ol>
</li>
</ol>
<section class="- topic/section " id="codeblock">
<title class="- topic/title ">Codeblock </title>
<p class="- topic/p ">Code example on <codeph class="+ topic/ph pr-d/codeph ">for</codeph> loop:</p>
<codeblock class="+ topic/pre pr-d/codeblock " xml:space="preserve">for i in items:
println(i)</codeblock>
<p class="- topic/p ">Fenced block:</p>
<codeblock class="+ topic/pre pr-d/codeblock " id="foreach-example" outputclass="scala" xml:space="preserve">items.foreach(println)</codeblock>
</section>
</body>
<topic class="- topic/topic " id="tables">
<title class="- topic/title ">Tables</title>
<body class="- topic/body ">
<table class="- topic/table ">
<title class="- topic/title ">simple_table</title>
<tgroup class="- topic/tgroup " cols="3">
<colspec class="- topic/colspec " colname="col1"/>
<colspec class="- topic/colspec " colname="col2"/>
<colspec class="- topic/colspec " colname="col3"/>
<thead class="- topic/thead ">
<row class="- topic/row ">
<entry align="left" class="- topic/entry ">First Header </entry>
<entry align="center" class="- topic/entry ">Second Header </entry>
<entry align="right" class="- topic/entry ">Third Header </entry>
</row>
</thead>
<tbody class="- topic/tbody ">
<row class="- topic/row ">
<entry align="left" class="- topic/entry ">First row </entry>
<entry align="center" class="- topic/entry ">Data </entry>
<entry align="right" class="- topic/entry ">Very long data entry </entry>
</row>
<row class="- topic/row ">
<entry align="left" class="- topic/entry ">Second row </entry>
<entry align="center" class="- topic/entry ">
<b class="+ topic/ph hi-d/b ">Cell</b>
</entry>
<entry align="right" class="- topic/entry ">
<i class="+ topic/ph hi-d/i ">Cell</i>
</entry>
</row>
</tbody>
</tgroup>
</table>
<table class="- topic/table ">
<title class="- topic/title ">Prototype table][reference_table</title>
<tgroup class="- topic/tgroup " cols="3">
<colspec class="- topic/colspec " colname="col1"/>
<colspec class="- topic/colspec " colname="col2"/>
<colspec class="- topic/colspec " colname="col3"/>
<thead class="- topic/thead ">
<row class="- topic/row ">
<entry class="- topic/entry "> </entry>
<entry align="center" class="- topic/entry ">Grouping </entry>
<entry align="right" class="- topic/entry "> </entry>
</row>
<row class="- topic/row ">
<entry class="- topic/entry ">First Header </entry>
<entry align="center" class="- topic/entry ">Second Header </entry>
<entry align="right" class="- topic/entry ">Third Header </entry>
</row>
</thead>
<tbody class="- topic/tbody ">
<row class="- topic/row ">
<entry class="- topic/entry ">Content </entry>
<entry align="center" class="- topic/entry ">
<i class="+ topic/ph hi-d/i ">Long Cell</i>
</entry>
<entry align="right" class="- topic/entry "/>
</row>
<row class="- topic/row ">
<entry class="- topic/entry ">Content </entry>
<entry align="center" class="- topic/entry ">
<b class="+ topic/ph hi-d/b ">Cell</b>
</entry>
<entry align="right" class="- topic/entry ">Cell </entry>
</row>
<row class="- topic/row ">
<entry class="- topic/entry ">New section </entry>
<entry align="center" class="- topic/entry ">More </entry>
<entry align="right" class="- topic/entry ">Data </entry>
</row>
</tbody>
</tgroup>
</table>
</body>
</topic>
<topic class="- topic/topic " id="links">
<title class="- topic/title ">Links</title>
<body class="- topic/body ">
<ul class="- topic/ul ">
<li class="- topic/li ">
<p class="- topic/p "><xref class="- topic/xref " href="test.md" format="markdown">Markdown</xref></p>
</li>
<li class="- topic/li ">
<p class="- topic/p "><xref class="- topic/xref " href="test.dita">DITA</xref></p>
</li>
<li class="- topic/li ">
<p class="- topic/p "><xref class="- topic/xref " format="html" href="test.html">HTML</xref></p>
</li>
<li class="- topic/li ">
<p class="- topic/p "><xref class="- topic/xref " format="html" href="http://www.example.com/test.html"
scope="external">External</xref></p>
</li>
</ul>
</body>
</topic>
<topic class="- topic/topic " id="keys">
<title class="- topic/title ">Keys</title>
<body class="- topic/body ">
<p class="- topic/p ">This is <xref class="- topic/xref " href="test.md" format="markdown">an example</xref> reference-style link.</p>
<p class="- topic/p ">This is <xref class="- topic/xref " href="test.md" format="markdown">key-a</xref> reference-style link.</p>
<p class="- topic/p ">This is <xref class="- topic/xref " href="test.md" format="markdown">Markdown</xref> reference-style link.</p>
<p class="- topic/p ">This is <xref class="- topic/xref " href="test.md" format="markdown">Markdown</xref> reference-style link.</p>
<p class="- topic/p ">This is <xref class="- topic/xref " keyref="key-missing">an example</xref> reference-style link.</p>
<p class="- topic/p ">This is <xref class="- topic/xref " keyref="key-missing"/> reference-style link.</p>
</body>
</topic>
</topic>