Uploading XML or Javascript files

Can you upload javascript .js files or .xml files yet? The upload manager says .xml files are not supported within the images or documents area. Javascript upload was requested early last year on this forum but I don’t know if it’s been implemented yet.
I tried creating a new file in the Public category, naming it “document.xml”, and then copying and pasting from the xml file on my computer to the Wix screen. I’m not sure if that is the correct method to use though.
Thanks,
Matt

1 Like

What are you trying to do? What do you intend on doing with these file?

I am trying to upload and run a 360 panoramic tour by krpano (for an example, see https://krpano.com/examples/vtour/#top ).
The krpano is a simple program that runs by having a brief HTML5 code activate a javascript.
I am trying to insert the HTML code into an HTML element on my webpage. The code is simply this:

The first line calls the javascript, the second line makes a viewport within the webpage, and lines 3-5 call the embedpano function, which uses the xml file. The pano.xml file calls other small .js and .xml files for the user interface. I want to upload these files rather than trying to copy and paste them and potentially causing a mistake.

The quick embedding instructions for krpano are here: https://krpano.com/docu/html/#top

Thanks,
Matt