I have my JavaScript and XML files in the same folder. I'd like to be able to parse through the XML using the JavaScript, but I don't know how to get the JavaScript file to "talk" to the XML file. I've looked up ways, but they all involved server requests, which I don't need. How do I get the JavaScript to read-in the local XML file to make use of it?
I'd eventually want to be able to convert the XML to JSON and then have my JavaScript parse through that, which I think I know how to do. I just don't know how to get the JavaScript to take data from the XML. I'm a beginner so any help is appreciated.
Thanks!