Hello,
I read somewhere around here that `XMLHttpRequest()` does not work with `file:` URLs, but I believe it did in the past, because I have a set of presentation material from mid-2016 that definitely used `XMLHttpRequest()` to include/load other local files. These files do not compile anymore under latest Prince -- I receive `InvalidStateError` on the `send()` call.
Is there an alternative? I need to load certain other files (plain text, JSON, HTML documents, etc.) during processing to produce content using JavaScript.
Thanks.
I read somewhere around here that `XMLHttpRequest()` does not work with `file:` URLs, but I believe it did in the past, because I have a set of presentation material from mid-2016 that definitely used `XMLHttpRequest()` to include/load other local files. These files do not compile anymore under latest Prince -- I receive `InvalidStateError` on the `send()` call.
Is there an alternative? I need to load certain other files (plain text, JSON, HTML documents, etc.) during processing to produce content using JavaScript.
Thanks.