4 Ways to Turn Microsoft Word into an XML Editor

Want to use Microsoft Word as an XML Editor? XML (Extensible Markup Language) is made up of a number of user defined tags which are used to store and transport data. When it comes to writing XML most people would open their favourite XML editor or a text editor but have would not have considered using Microsoft Word.Those with Microsoft Office 2003 or a newer version can now use Microsoft Word as an XML editing tool. It should be noted that it is far from perfect and has a number of limitations but it is ideal for those who require a simple tool for writing basic XML.

Here are my top 4 tips to get you started on writing XML:

1. Opening and Saving XML files

No doubt anyone who has used Microsoft Word will be familiar with opening and saving a standard Doc or DOCX file. Opening and saving an XML file is not much different, you simply need to remember to tell Microsoft Word that you are writing an XML file.

Follow the steps below:

  • Click the File tab
  • Select Save as
  • From the Window that appears select Word XML Document
  • Microsoft Word now knows that you are writing XML.

 

XML files are opened in the same way as how normal files are opened however, if you have many files in one folder, it can be a nuisance to browse through all your files to find your XML file.

FYI: When opening a file, select XML Files from the File type drop down list. This will filter all your files and only show files saved as XML.

2. Open XML

Files saved in Word as XML are part of the new Open XML 2.0 which Microsoft introduced recently. This has a number of benefits such as improving security and using zip compression technology to make file sizes up to 75% smaller but the key benefit as far as XML is concerned is that it increases interoperability by allowing Word documents to be saved as XML which can then be freely viewed by anyone. Office 2010 comes with the new Open XML 2.0 SDK preloaded however, those using the older versions may have the older Open XML SDK 1.0 and would need to download the latest version of Open XML from the Microsoft website.

3. XML Schemas

XML Schemas provide a number of benefits but the primary benefit in relating to Microsoft Word is that it allows some form of validation for XML content. A small number of Schemas are available from the Microsoft website which you would need to download and install prior to using them on Microsoft Word. Once the Schema has been installed successfully, it can be put into action by following the a few simple steps:

  • Click on the Files tab
  • Click on Options and then on add-ins
  • Select XML Schemas on the Manage drop down list and then press go
  • Choose the Schema of your choice which you installed earlier and press Add Schema.

There are also other options such as XML Expansion Packs which allow additional functionality and those of you who are more familiar with web design will notice that you also have some features for CSS. This is straying from the topic somewhat but it does show how Microsoft are trying to make Microsoft Word do more rather than improving its existing functionality.

4. Custom XML mapping

Microsoft Office 2007 saw a new feature in the form of Custom XML mapping however a recent United States court ruling has led to Microsoft having to remove this newly added feature from their 2010 range although previous versions have not been affected. Word 2010 will still open a file which contains custom XML Mapping but will not display the parts which contain this feature.

Download these templates to start

Acceptance Test Plan

Contingency Plan

Software Development Templates

Acquisition Plan

Conversion Plan

Software Requirements Specification

Action Plan

Cost Benefit Analysis

Software Testing

API Documentation

Database Design

Standard Operating Procedures (SOP)

Audience Analysis

Datasheet

Statement of Work

Availability Plan

Deployment Plan

System Administration Guide

Bill of Materials

Design Document

System Boundary

Business Case

Disaster Recovery Plan

System Design Document

Business Continuity

Disposition Plan

System Specifications

Business Plan

Documentation Plan

Technical Writing Templates

Business Process

Employee Handbook

Test Plan

Business Requirements

Error Message Guide

Training Plan

Business Rules

Expression of Interest

Transition Plan

Capacity Plan

Fact Sheet

Troubleshooting Guide

Case Study

Feasibility Study

Use Case

Change Management Plan

Functional Requirements

User Guide

Communication Plan

Grant Proposal

Verification and Validation Plan

Concept of Operations

Implementation Plan

White Papers

Concept Proposal

Installation Plan

Work Instructions

Configuration Management Plan

Interface Control Document

Software Development Templates

Acceptance Test Plan

Maintenance Plan

Software Requirements Specification

Acquisition Plan

Market Research

Software Testing

Action Plan

Marketing Plan

Standard Operating Procedures (SOP)

API Documentation

Needs Statement

Statement of Work

Audience Analysis

Operations Guide

System Administration Guide

Availability Plan

Policy Manual

System Boundary

Bill of Materials

Project Plan

System Design Document

Business Case

Proposal Manager Templates

System Specifications

Business Continuity

Proposal Template

Technical Writing Templates

Business Plan

Quality Assurance Plan

Test Plan

Business Process

Release Notes

Training Plan

Business Requirements

Request for Proposal

Transition Plan

Business Rules

Risk Management Plan

Troubleshooting Guide

Capacity Plan

Scope of Work

Use Case

Case Study

Security Plan

User Guide

Change Management Plan

Service Level Agreement (SLA)

Verification and Validation Plan

Communication Plan

Setup Guide

White Papers

Concept of Operations

Social Media Policy

Work Instructions

Concept Proposal

Contingency Plan

 

Configuration Management Plan

Conversion Plan