47 lines
1.1 KiB
HTML
47 lines
1.1 KiB
HTML
<!--
|
|
/**
|
|
* 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>
|