Download ArticleDownload Article

XML, which stands for Extensible Markup Language, is a markup language designed to carry data and text. While XML is similar to HTML, XML carries data instead of displaying it. HTML displays data. For this reason XML is sometimes considered hard to understand. However, XML is an important component of many websites, so understanding how to edit XML files can be to your advantage.

  1. How.com.vn English: Step 1 Purchase an XML editor.
    There are a number of XML editors available, including Liquid XML Editor.
  2. How.com.vn English: Step 2 Install your chosen XML editor on your computer.
    Advertisement
  3. How.com.vn English: Step 3 Restart your computer, if necessary.
  4. How.com.vn English: Step 4 Familiarize yourself with your XML editor's workspace.
  5. How.com.vn English: Step 5 Familiarize yourself with user resources associated with your XML editor, such as websites and online user forums.
  6. How.com.vn English: Step 6 Locate the XML file you wish to edit.
  7. How.com.vn English: Step 7 Open the file you wish to edit by double clicking the file name.
    The file will open and display the existing code.
  8. How.com.vn English: Step 8 Edit your XML file.
  9. How.com.vn English: Step 9 Review your editing.
    • Be sure all XML elements have an opening and closing tag. Keep in mind that XML tags are case sensitive.
    • Be sure your XML file contains one root element.
    • Be sure the attribute values within your XML file are surrounded by quotation marks. Attributes are items within the XML code that provide further information about an element that is not available elsewhere in the data.
    • Be sure all XML elements are properly nested.
  10. How.com.vn English: Step 10 Correct any errors you discover when reviewing your XML file.
  11. How.com.vn English: Step 11 Use your XML editor's validating tool to validate your XML file.
    Your XML document will not run if it contains errors.
  12. How.com.vn English: Step 12 Correct any errors identified during file validation.
  13. How.com.vn English: Step 13 Save your newly edited XML file.
  14. How.com.vn English: Step 14 View your XML file in a web browser.
    If your XML file is invalid, it will not display.
  15. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Tips

      • XML is the basis for many new Internet languages such as RSS, which is used in news feeds, and WAP and WML, which are used by mobile devices. Using XML to format information also makes it compatible across multiple platforms, languages and applications and can make data more easily accessible by web users with disabilities.
      • XML was developed for structuring, storing and transporting data. It has no other function. Therefore, XML's focus is on the data itself, rather than how the data looks. You can use HTML or some other WYSIWYG (what you see is what you get) web editor to format the design of your web page.
      • XML files can also be edited using your computer's notepad program and even with certain word processing and spreadsheet programs. However, XML editors are considered advantageous because they are able to validate your code and ensure you remain within a valid XML structure.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      Things You'll Need

      • Computer
      • XML file or files
      • Internet access
      • Basic understanding of HTML and JavaScript.

      About This Article

      How.com.vn is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 9 people, some anonymous, worked to edit and improve it over time. This article has been viewed 174,330 times.
      How helpful is this?
      Co-authors: 9
      Updated: March 29, 2019
      Views: 174,330
      Thanks to all authors for creating a page that has been read 174,330 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement