How to Edit XML Documents With Word

By Adrian Grahams

Microsoft Word is primarily a document word processor, but it also supports Extended Markup Language, or XML, code that is often used for blog, website and news feed design. You can identify an XML document from the .xml file extension or the file's program icon, which is the same as the Microsoft Office icon. Editing the contents of an XML file is just like editing any Word document. However, only advanced users should attempt to edit the design code elements of the document.

Step 1

Launch "Microsoft Word" on the computer.

Step 2

Click "File" and then "Open." Click the file-type list at the bottom of the "Open" list, and select "XML Files (*.XML)" from the drop-down menu.

Step 3

Browse through the folders on your computer to find the XML file that you want to edit. Double-click the file to open it.

Step 4

Read through the opened document. Word displays the design code in tabs with a purple outline. Avoid editing the design code unless you understand website design because changing this code can render the file inoperable.

Step 5

Edit the text between the design code tabs in the usual way by highlighting, deleting and adding text. Continue to edit the text in the document until you're happy with the content.

Step 6

Click "Save As" from the "File" tab, and select "Word XML Document" from the file-type save list.

Tips & Warnings

  • You can use WordPad as an alternative XML editor on Windows computers.
  • For advanced users, Microsoft Word also supports XML Schemas that can validate XML code in the document. Download these add-ins from the Microsoft website, and then enable them by clicking "File," "Options" and then "Select XML Schemas" from the list of add-ins.