Home  >  Q&A  >  body text

How-to tutorial: Convert XML files to HTML files and display them on Chrome or Edge

<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>
P粉868586032P粉868586032432 days ago624

reply all(1)I'll reply

  • P粉506963842

    P粉5069638422023-08-15 09:36:15

    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.

    reply
    0
  • Cancelreply