Skip to content

Commit c63f2a5

Browse files
committed
Add original odML XML file for testing
1 parent b3f9cea commit c63f2a5

File tree

2 files changed

+218
-0
lines changed

2 files changed

+218
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ parts
1010

1111
# odml files
1212
*.odml
13+
# except
14+
!THGTTG.odml
1315

1416
# installer logs
1517
pip-log.txt

doc/example_odMLs/THGTTG.odml

Lines changed: 216 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,216 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl"?>
3+
<?xml-stylesheet type="text/xsl" href="odml.xsl"?>
4+
<odML version="1">
5+
<date>1979-10-12</date>
6+
<section>
7+
<definition>Information on the crew</definition>
8+
<property>
9+
<definition>List of crew members names</definition>
10+
<value>Arthur Philip Dent<type>person</type></value>
11+
<value>Zaphod Beeblebrox<type>person</type></value>
12+
<value>Tricia Marie McMillan<type>person</type></value>
13+
<value>Ford Prefect<type>person</type></value>
14+
<name>NameCrewMembers</name>
15+
</property>
16+
<property>
17+
<definition>Number of crew members</definition>
18+
<value>4<type>int</type></value>
19+
<name>NoCrewMembers</name>
20+
</property>
21+
<name>TheCrew</name>
22+
<section>
23+
<definition>Information on Arthur Dent</definition>
24+
<property>
25+
<definition>Species to which subject belongs to</definition>
26+
<value>Human<type>string</type></value>
27+
<name>Species</name>
28+
</property>
29+
<property>
30+
<definition>Nickname(s) of the subject</definition>
31+
<value>The sandwich-maker<type>string</type></value>
32+
<name>Nickname</name>
33+
</property>
34+
<property>
35+
<definition>Occupation of the subject</definition>
36+
<value>-<type>string</type></value>
37+
<name>Occupation</name>
38+
</property>
39+
<property>
40+
<definition>Sex of the subject</definition>
41+
<value>male<type>string</type></value>
42+
<name>Gender</name>
43+
</property>
44+
<property>
45+
<definition>Home planet of the subject</definition>
46+
<value>Earth<type>string</type></value>
47+
<name>HomePlanet</name>
48+
</property>
49+
<name>Arthur Philip Dent</name>
50+
<type>crew/person</type>
51+
</section>
52+
<section>
53+
<definition>Information on Zaphod Beeblebrox</definition>
54+
<property>
55+
<definition>Species to which subject belongs to</definition>
56+
<value>Betelgeusian<type>string</type></value>
57+
<name>Species</name>
58+
</property>
59+
<property>
60+
<definition>Nickname(s) of the subject</definition>
61+
<value>-<type>string</type></value>
62+
<name>Nickname</name>
63+
</property>
64+
<property>
65+
<definition>Occupation of the subject</definition>
66+
<value>Ex-Galactic President<type>string</type></value>
67+
<name>Occupation</name>
68+
</property>
69+
<property>
70+
<definition>Sex of the subject</definition>
71+
<value>male<type>string</type></value>
72+
<name>Gender</name>
73+
</property>
74+
<property>
75+
<definition>Home planet of the subject</definition>
76+
<value>A planet in the vicinity of Betelgeuse<type>string</type></value>
77+
<name>HomePlanet</name>
78+
</property>
79+
<name>Zaphod Beeblebrox</name>
80+
<type>crew/person</type>
81+
</section>
82+
<section>
83+
<definition>Information on Trillian Astra</definition>
84+
<property>
85+
<definition>Species to which subject belongs to</definition>
86+
<value>Betelgeusian<type>string</type></value>
87+
<name>Species</name>
88+
</property>
89+
<property>
90+
<definition>Nickname(s) of the subject</definition>
91+
<value>Trillian Astra<type>string</type></value>
92+
<name>Nickname</name>
93+
</property>
94+
<property>
95+
<definition>Occupation of the subject</definition>
96+
<value>-<type>string</type></value>
97+
<name>Occupation</name>
98+
</property>
99+
<property>
100+
<definition>Sex of the subject</definition>
101+
<value>female<type>string</type></value>
102+
<name>Gender</name>
103+
</property>
104+
<property>
105+
<definition>Home planet of the subject</definition>
106+
<value>Earth<type>string</type></value>
107+
<name>HomePlanet</name>
108+
</property>
109+
<name>Tricia Marie McMillan</name>
110+
<type>crew/person</type>
111+
</section>
112+
<section>
113+
<definition>Information on Ford Prefect</definition>
114+
<property>
115+
<definition>Species to which subject belongs to</definition>
116+
<value>Betelgeusian<type>string</type></value>
117+
<name>Species</name>
118+
</property>
119+
<property>
120+
<definition>Nickname(s) of the subject</definition>
121+
<value>Ix<type>string</type></value>
122+
<name>Nickname</name>
123+
</property>
124+
<property>
125+
<definition>Occupation of the subject</definition>
126+
<value>Researcher for the Hitchhiker's Guide to the Galaxy<type>string</type></value>
127+
<name>Occupation</name>
128+
</property>
129+
<property>
130+
<definition>Sex of the subject</definition>
131+
<value>male<type>string</type></value>
132+
<name>Gender</name>
133+
</property>
134+
<property>
135+
<definition>Home planet of the subject</definition>
136+
<value>A planet in the vicinity of Betelgeuse<type>string</type></value>
137+
<name>HomePlanet</name>
138+
</property>
139+
<name>Ford Prefect</name>
140+
<type>crew/person</type>
141+
</section>
142+
<type>crew</type>
143+
</section>
144+
<section>
145+
<definition>Information on the crew</definition>
146+
<property>
147+
<definition>Name of person/device</definition>
148+
<value>Heart of Gold<type>string</type></value>
149+
<name>Name</name>
150+
</property>
151+
<property>
152+
<definition>Owner status of device</definition>
153+
<value>stolen<type>string</type></value>
154+
<name>OwnerStatus</name>
155+
</property>
156+
<property>
157+
<definition>Type of drive</definition>
158+
<value>Infinite Propability Drive<type>string</type></value>
159+
<name>DriveType</name>
160+
</property>
161+
<property>
162+
<definition>Technology used to built device</definition>
163+
<value>secret<type>string</type></value>
164+
<name>Technology</name>
165+
</property>
166+
<property>
167+
<definition>Length of device</definition>
168+
<value>150.0<unit>m</unit><type>float</type></value>
169+
<name>Length</name>
170+
</property>
171+
<property>
172+
<definition>Shape of device</definition>
173+
<value>various<type>string</type></value>
174+
<name>Shape</name>
175+
</property>
176+
<property>
177+
<definition>Planet where device was constructed</definition>
178+
<value>Damogran<type>string</type></value>
179+
<name>FactoryPlanet</name>
180+
</property>
181+
<name>TheStarship</name>
182+
<section>
183+
<definition>Information on cybernetics present on the ship</definition>
184+
<property>
185+
<definition>Type of robots</definition>
186+
<value>Genuine People Personalities<type>string</type></value>
187+
<name>RobotType</name>
188+
</property>
189+
<property>
190+
<definition>Manufacturer of robots</definition>
191+
<value>Sirius Cybernetics Corporation<type>string</type></value>
192+
<name>Manufacturer</name>
193+
</property>
194+
<property>
195+
<definition>Number of cybernetic robots on the ship</definition>
196+
<value>2<type>int</type></value>
197+
<name>NoOfCybernetics</name>
198+
</property>
199+
<name>Cybernetics</name>
200+
<section>
201+
<definition>Information on Marvin</definition>
202+
<name>Marvin</name>
203+
<type>starship/cybernetics</type>
204+
</section>
205+
<section>
206+
<definition>Information on Eddie</definition>
207+
<name>Eddie</name>
208+
<type>starship/cybernetics</type>
209+
</section>
210+
<type>starship/cybernetics</type>
211+
</section>
212+
<type>crew</type>
213+
</section>
214+
<version>42</version>
215+
<author>D. N. Adams</author>
216+
</odML>

0 commit comments

Comments
 (0)