-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
87 lines (81 loc) · 3.53 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>EaW XML Schemas</title>
<link rel="stylesheet" href="style.css" type="text/css" />
<script src="events.js"></script>
<script src="https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js"></script>
<meta charset="UTF-8" />
</head>
<body>
<main>
<h1>EaW XML Schemas</h1>
<section>
<h2>Idea</h2>
<p>
XML schemas are used to define and document elements. This project
contains multiple schemas for different xml data structures in the
game Star Wars™: Empire at War™. These should help new people to find
their way around. As there is not much information easily available
online outside of the wiki, these can be particularly helpful for
elements that are not self-explanatory.
</p>
</section>
<section>
<h2>Usage</h2>
<p>
At the root of your element, add the following attributes:
</p>
<div class="code-box">
<button id="copy" onclick="copy()">Copy text</button>
<div class="code-wrappper">
<code class="prettyprint">
xmlns:xsi="http://www.w3.org/2001/XMLSchema"
xsi:schemaLocation="https://kiyotoko.github.io/eaw-xml-schema/schemas/%SCHEMA%
https://kiyotoko.github.io/eaw-xml-schema/schemas/%SCHEMA%.xsd"
</code>
</div>
</div>
<blockquote class="callout">
<p>
⚠️ Replace <code class="code-paragraph">%SCHEMA%</code> with the
name of the schema you need (see below for a selection).
</p>
</blockquote>
</section>
<section>
<h2>List of Schemas</h2>
<p>
This is a list of all xml schemas that currently exist. More schemas
will be added in the future.
</p>
<ul>
<li>
<a href="https://kiyotoko.github.io/eaw-xml-schema/schemas/ground.xsd" target="_blank">Ground</a>
</li>
<li>
<a href="https://kiyotoko.github.io/eaw-xml-schema/schemas/hardpoints.xsd" target="_blank">Hardpoints</a>
</li>
<li>
<a href="https://kiyotoko.github.io/eaw-xml-schema/schemas/planets.xsd" target="_blank">Planets</a>
</li>
<li>
<a href="https://kiyotoko.github.io/eaw-xml-schema/schemas/projectiles.xsd" target="_blank">Projectiles</a>
</li>
<li>
<a href="https://kiyotoko.github.io/eaw-xml-schema/schemas/space.xsd" target="_blank">Space</a>
</li>
<li>
<a href="https://kiyotoko.github.io/eaw-xml-schema/schemas/starbases.xsd" target="_blank">Starbases</a>
</li>
<li>
<a href="https://kiyotoko.github.io/eaw-xml-schema/schemas/trades.xsd" target="_blank">Trades</a>
</li>
<li>
<a href="https://kiyotoko.github.io/eaw-xml-schema/schemas/upgrades.xsd" target="_blank">Upgrades</a>
</li>
</ul>
</section>
</main>
</body>
</html>