I am using JavaScript to post an XML request to an online database. When I was testing the JavaScript, I used a single sample record which successfully posted. Now, I need to reference a separate XML file that has 6,000+ records (stored either locally or on a network drive).
I am trying to determine the best approach for this, but have been unsuccessful thus far. I have referenced other questions such as Javascript - read local text file, but I am getting an Access Denied
error, most likely due to cross-domain requests (even though I have changed my Security settings).
Is there any way to accomplish this? My external XML file is simply the <root>
and then the records, nothing more.