You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Reading a formatted xml file

I was sent a xml file. How can I open it on my iMac to see it formatted correctly. I can open it in text but it runs altogether. I can open and see all of the HTML code but I want to see it formatted correctly.

MacBook, OS X 10.11

Posted on Jan 13, 2023 6:03 AM

Reply
3 replies

Jan 13, 2023 6:43 AM in response to nclamj

xml stands for Extensible Markup Language. A xml file is just a text file. Open it with any text editor. You can also open it with a browser.

Here is what an xml file looks like:

<?xml version="1.0" encoding="UTF-8"?>

      <colour-list>

    <colour1> Red </colour1>

    <colour2> Blue </colour2>

<colour3> Green </colour3>

      </colour-list>

What format are you expecting?

Reading a formatted xml file

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.