I make a program that will take the parameters from XML and work with them. Write nothing is necessary, just read. The XML file is on a local disk, not on a server.
How to transfer it to javascript? You can request a file using the input
tag, but how to transfer it to the script itself? Or, if this is not possible, tell me, how is it easiest to solve the issue of reading XML from the user's disk directly?
input[type='file']
andFile API
- developer.mozilla.org/ru/docs/Using_files_from_web_applications - user207618