'Run a xml/xsl in chrome (ERROR Unsafe attempt to load URL.....)

I tryied to run an xml/xsl in chrome (it works on firefox) but I have this error :

Unsafe attempt to load URL file:///C:/Users/..../thing.xsl from frame with URL file:///C:/Users/..../thing.xml. 'file:' URLs are treated as unique security origins.

How can I fix it ? I found few solutions on internet but nothing works (--allow-file-access-from-files don't work).



Solution 1:[1]

To anyone having this problem, if you use visual studio code, you can download the extension Live Server, run the server and then you can work with the files.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Cesar Ramirez