I wish to create a simple web application to run in the browser that can alter a local XML document I.e. user inputs a word that will replace a specific word in the doc. 
Is this the correct approach to load the doc? I then intend to use JS to alter it?
Current Code:
<!DOCTYPE html>
<html>
<body>
    <h1>XML EDITOR</h1>
    <form>
       Enter word to edit in xml doc: <input type="text"><br>
       <input type="submit" value="Submit">
    </form> 
    //add js to alter the word within form...
    </html>