File: example.html

Recommend this page to a friend!
  Classes of Vallo Reima   JS Merge XML   example.html   Download  
File: example.html
Role: Example script
Content type: text/plain
Description: Sample output
Class: JS Merge XML
Merge XML documents from strings or DOM objects
Author: By
Last change: Update of example.html
Date: 2 years ago
Size: 1,150 bytes
 

Contents

Class file image Download
<!-- /** * 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>