How-to tutorial: Convert XML files to HTML files and display them on Chrome or Edge
P粉868586032
2023-08-14 17:42:02
<p>I have an XML file and associated XSLT file. When I want to open it with Chrome or Edge, it says: "This XML file does not appear to have style information associated with it. The document tree is shown below." I want to see the rendered file (like a traditional html file). what should I do? This XML file is a documentation file from an MS Visual Studio project. </p>
<p>I tried opening the XML file with Chrome and Edge, and the message I got was: This XML file does not appear to have style information associated with it. The document tree is shown below. </p>
You need to open it from an http server.
I usually use "python -m http.server 8000" in the terminal in a folder with the files.
Then open "localhost:8000" in the browser and open the xml file.