EPUB: HTML Form value to an existing .XML file

152 views Asked by At

Can someone tell me. Is it possible to save a data value from html form going to an existing .xml file within an epub through javascript??

Creating a new .xml inside the epub file was not possible, so im wondering of another option. Thanks for the help in advance.

1

There are 1 answers

3
AudioBubble On BEST ANSWER

You can not modify or rewrite the XML/XHTML files which make up the book. The way that you would handle this is to run JS on page load which retrieves any stored information from local storage, and inserts it into the appropriate place in the DOM.