-
Notifications
You must be signed in to change notification settings - Fork 8
/
example.html
47 lines (47 loc) · 1.12 KB
/
example.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
<!--
/**
* JS MergeXML browser usage sample
* merge multi-select local xml files
*
* @package MergeXML
* @author Vallo Reima
* @copyright (C)2014
*/
-->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>JS MergeXML usage sample</title>
<style>
button, p {
font-weight: bold;
}
span {
font-weight: normal;
}
div {
font-family: monospace;
width: 600px;
height: 600px;
border: 1px solid grey;
overflow: auto;
padding: 5px;
}
</style>
<script src="mergexml.js"></script>
<script src="example.js"></script>
<script>
window.onload = Example;
</script>
</head>
<body>
<h3>JS MergeXML class to merge multiple XML sources</h3>
<label for="files">Multi-select:</label>
<input type="file" id="files" name="files[]" multiple>
<button type="button" id="merge">Merge XMLs</button>
<p>Result: <span id="result"></span></p>
<div id="output"></div>
</body>
</html>