File: parsetree.xml

package info (click to toggle)
zim 0.76.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,952 kB
  • sloc: python: 68,612; xml: 1,270; javascript: 512; sh: 101; makefile: 47
file content (179 lines) | stat: -rw-r--r-- 6,140 bytes parent folder | download | duplicates (2)
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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<?xml version='1.0' encoding='utf-8'?>
<zim-tree><h level="1">Head 1
</h><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
aliquip ex ea commodo consequat. Duis aute irure dolor in
reprehenderit in voluptate velit esse cillum dolore eu fugiat
nulla pariatur.  Excepteur sint occaecat cupidatat non proident,
sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
<p><div indent="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
aliquip ex ea commodo consequat. Duis aute irure dolor in
reprehenderit in voluptate velit esse cillum dolore eu fugiat
nulla pariatur.  Excepteur sint occaecat cupidatat non proident,
sunt in culpa qui officia deserunt mollit anim id est laborum.
</div></p>
<h level="2">head 2
</h>
<p><strong>bold</strong>, <emphasis>italic</emphasis> and <mark>underline</mark> and <code>verbatim</code>
and also <strike>strike through</strike>
</p>
<p>This is not formatted: *bold*, /italic/ / * *^%#@#$#!@)_!)_ &amp; &lt;&gt; ""
</p>
<p>Some sub- and superscript like x<sup>2</sup> and H<sub>2</sub>O
</p>
<p>And some empty space here:
</p>


<h level="3">head 3
</h><p><link href="foo">foo</link>  links to page in the current namespace or parents
<link href=":foo">:foo</link> links to page in the root namespace
<link href="+foo">+foo</link> links to page in a subnamespace
<link href="foo">bar</link> links to "foo" but display "bar"
</p>
<p><link href=":foo:bar">:foo:bar</link> <link href="./file.png">./file.png</link> <link href="file:///etc/passwd">file:///etc/passwd</link>
</p>
<p><link href="mailto:foo@bar.org">mailto:foo@bar.org</link>
<link href="wp?Test">wp?Test</link>
</p>
<p>External links like <link href="http://nongnu.org">http://nongnu.org</link> and <link href="foo@bar.org">foo@bar.org</link> are also supported
</p>
<p>[not:a:link]
</p>

<p><img src="./foobar.png" />
<img height="50" src="./foobar.png" />
<img alt="Foo Bar" src="../my-image.png" width="600" />
<img href="Foo" src="my-image.png" />
<img alt="Foo Bar" href=":foo:bar" src="../my-image.png" width="600" />
</p>
<p><object src="./equation001.png" type="image+equation" /> This equation has a source .tex file
<object src="./equation002.png" type="image+equation" /> for this one it is missing
</p>
<p>{./Not/an/image.png}
</p>
<p>Tags: <tag name="foo">@foo</tag> <tag name="bar">@bar</tag>
</p>
<p>Anchors: <anchor name="foo" />  <link href="#foo">#foo</link>  <link href="page#foo">page#foo</link>
</p>

<h level="4">head 4 <anchor name="head-4-anchor" />
</h>
<p><ul><li bullet="*">item 1
</li><li bullet="*">item 2
</li><li bullet="*">item 3
</li><ul><li bullet="*">item a
</li><li bullet="*">item b
</li></ul><li bullet="*">item 4
</li></ul></p>

<p>Indented list:
<ul indent="1"><li bullet="*">item 1
</li><li bullet="*">item 2
</li><li bullet="*">item 3
</li><ul><li bullet="*">item a
</li><li bullet="*">item b
</li></ul><li bullet="*">item 4
</li></ul></p>

<p>TODO list:
<ul><li bullet="unchecked-box">foo
</li><li bullet="checked-box">bar
</li><ul><li bullet="checked-box">sub item 1
</li><ul><li bullet="*">Some normal bullet
</li></ul><li bullet="checked-box">sub item 2
</li></ul><li bullet="xchecked-box">baz
</li></ul></p>
<p><ul><li bullet="migrated-box">Migrated checkbox
</li><li bullet="transmigrated-box">Transmigrated checkbox
</li></ul></p>
<p>A numbered list:
<ol start="1"><li>foo
</li><li>bar
</li><ol start="a"><li>sub list
</li><li>here
</li></ol><li>hmmm
</li></ol></p>

<p>Start with number other that 1/a/A
</p>
<p><ol start="C"><li>foo
</li><li>bar
</li><ol start="3"><li>sub item start with 3
</li></ol><li>baz
</li></ol></p>
<h level="5">head 5
</h><p><emphasis>some verbatim blocks</emphasis>:
</p>
<pre>Sing, O goddess, the rage of
Achilles son of Peleus, that
brought countless ills upon
the Achaeans.
</pre>
<pre indent="1">Sing, O goddess, the rage of
Achilles son of Peleus, that
brought countless ills upon
the Achaeans.
</pre>
<pre indent="1">def foo(self, bar, baz):
	'''Some doc string here
	@param bar: value for bar
	@param baz: value for baz
	@returns: foo
	'''
	returen "foo" + bar % baz
</pre>
<h level="2">Internationalization
</h>
<h level="3">中文
</h><p>This section has a chinese heading
</p>
<p>Lines below are in right to left script:
</p>
<p>חדו"א
מד"ר
מכניקת מוצקים 2
A line in English, should be left aligned.
דינמיקה
</p>
<p>aaa
</p>

<p>A horizontal line
</p><line />
<p>And more text
</p>

<h level="2">Some Objects
</h>
<object lang="python" linenumbers="true" type="code">def dump():
	for i in range(1, 5):
		print i
</object>

<object foo="bar" type="nonexistingobjecttype">Sing, O goddess, the rage of
Achilles son of Peleus, that
brought countless ills upon
the Achaeans.
</object>
<h level="2">A table
</h>
<table aligns="center,right,left" wraps="1,0,1"><thead><th>H1</th><th>H2 h2</th><th>H3</th></thead><trow><td>Column A1</td><td>Column A2</td><td>a</td></trow><trow><td>a very long cell</td><td><strong>bold text</strong></td><td>b</td></trow><trow><td>hyperlinks</td><td><link href="wp?wiki">wp?wiki</link></td><td><link href="http://x.org">Xorg</link></td></trow></table>
<h level="2">Multiformatting <strong>bold</strong>
</h>
<p>normal <strong>bold</strong> normal2
normal <strike>strike <strong>nested bold</strong> strike2</strike> normal2
normal <strike>strike <strong>nested bold</strong> strike2</strike> <emphasis>italic <link href="https://example.org">link</link></emphasis> normal2
normal <strike>strike  <strong>nested bold</strong> middle of the text <emphasis>italic <link href="https://example.org">link</link></emphasis> yet another text <strong>another bold <emphasis>yet another italic</emphasis></strong></strike> normal2
</p>
<p>This is a <link href="https://example.org">link <strong>with</strong> formatting</link>
</p>
<p>====
This is not a header
</p>
<p>That's all ...
</p></zim-tree>