diff --git a/events.js b/events.js
index 6e13874..3d5ebeb 100644
--- a/events.js
+++ b/events.js
@@ -1,39 +1,4 @@
function copy() {
navigator.clipboard.writeText('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"')
-}
-
-function styleAll() {
- const elements = document.getElementsByClassName("code")
- console.log("Found ", elements)
- for (let element of elements) {
- style(element)
- }
-}
-
-function style(element) {
- let text = element.innerHTML
- let build = ""
- let i = 0
- while (i < text.length) {
- let char = text.charAt(i)
- if (char === "\"") {
- console.log("Found string")
- build += ''
- build += char
- while (i < text.length) {
- char = text.charAt(++i)
- if (char === "\"") {
- build += ''
- break
- }
- build += char
- }
- } else if (char !== ' ' || char !== '=') {
-
- }
- build += char
- i++
- }
-
- element.innerHTML = build
-}
+ document.getElementById("copy").innerText = "Copied!"
+}
\ No newline at end of file
diff --git a/index.html b/index.html
index 2bc71a2..74acbe2 100644
--- a/index.html
+++ b/index.html
@@ -1,38 +1,82 @@
-
- EaW XML Schemas
-
-
-
-
-
-
EaW XML Schemas
+
+
+ EaW XML Schemas
+
+
+
+
+
+
+
+
EaW XML Schemas
+
+
Idea
-
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.
+
+ 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.
+
+
+
+
Usage
At the root of your element, add the following attributes: