XML (Extensible Markup Language) is simply built to carry data and text. Unlike HTML, XML file won’t display data but carries data into the file itself. Mind you, XML files are uneasy to understand and many people are not familiar with editing the file.
By the end of this post, you will get to learn how to edit XML files. You just need to follow the simple basic instructions, so make sure to read the post till the end.
Without further ado, let’s get started.
See also: How Open SWF File on Mac
Step 1: Locate the XML file
In the beginning, we will just open the XML file in order to edit it later.
- Just navigate yourself to the XML file location that you want to edit, and remember the file name.
- Now press Windows + R key to open the Run command. Or you can simply do a right-click on the Windows icon and select Run from the list of options.
- When the Run window appears, you need to type the XML’s file name and press OK.
- Your system will analyze the XML file location and show results in the next window.
Step 2: Open the XML file
- When your system will show the result, just scroll down and locate your XML file.
- Now, do a right-click on the file location link and select to choose “Open With” from dropbox.
- Select “Notepad” in order to view the content present in the file.
- Make sure not to close Windows Explorer while the content is displayed in the coding language.
Step 3: Editing the XML file
Now that you have opened the XML file, it’s time to edit it. You can make the changed in the XML file content according to your preference. Here, we suggest you not move any arrows, asterisks, punctuations, etc as it will just mess up the whole content present in the XML file. Head towards the next step as soon as you finish editing an XML file.
Step 4: Saving the XML file
After you finished editing the XML file we need to save it. Here’s how to do that:
- Click on the “File” tab located at the tab menu icon.
- Select “Save As” and save the edited XML file to your desired location. (Make sure to save it to the different location in order to avoid override or replace it with the existing document).
- Select OK to save the XML file.
Furthermore, you can override your edited XML file with the original file. This will remove the original file and replaced it with the edited ones. Just move the edited XML file location to the original file, your system will ask permission to do so. Allow the process to finish then your system will pop up a screen notification of override status.
Things to be Remember
- In case there are no Notepad settings selected in your system, then select the “Open With” option and browse to select the Notepad.
- Not every XML file is represented in “.xml”, it can also be represented in “.dll” file extension.
- Remember the file name, this will help you to analyze the original and edited file, rename the file if necessary.
- Try to save the edited XML file into the desktop, this will not confuse you with the original XML file.
- Avoid saving the opened XML file in the current document, as these XML files are not meant to be edited.
That’s it for now, hope this helps! Let us know your thoughts in the comment section below. Till then stay tuned for more info.
See next: Unzip CPGZ File on Mac – The Right Way