Microsoft Office Online
Sign in to My Office Online (What's this?) | Sign in

 
 
Microsoft Office Word
Search
Search
 
Check for updates: (c) Microsoft
Office downloads
 
 
 
Warning: You are viewing this page with an unsupported Web browser. This Web site works best with Microsoft Internet Explorer 6.0 or later, Firefox 1.5, or Netscape Navigator 8.0 or later. Learn more about supported browsers.

Email this linkEmail this link Printer-Friendly VersionPrinter-Friendly Version Bookmark and ShareShare
Apply or remove XML tags
 

Note  XML features, except for saving documents as XML with the Word XML schema, are available only in Microsoft Office Professional Edition 2003 and stand-alone Microsoft Office Word 2003.

If you have an XML schema (XML Schema: A formal specification, written in XML, that defines the structure of an XML document, including element names and rich data types, which elements can appear in combination, and which attributes are available for each element.) attached to your document, you can assign Extensible Markup Language (XML) (Extensible Markup Language (XML): A condensed form of Standard Generalized Markup Language (SGML) that enables developers to create customized tags that offer flexibility in organizing and presenting information.) tags to the content of the document. You can also remove XML tags without deleting content in the document.

Do one of the following:

ShowAdd XML tags

  1. In your document, highlight the content that you want to tag.

    You can select a word, phrase, paragraph, cell, row, column, field, picture, or object in the document.

  2. In the XML Structure pane, in the Choose an element to apply to your current selection box, click an element.

    Note  To limit your choices of elements and attributes, select the List only child elements of current element check box.

  3. If necessary, specify an attribute for the element.

    Show How?

    1. In the XML Structure pane, right-click the element in the tree in the Elements in the document box, and then click Attributes.
    2. In the Available attributes list, select the attribute you want.
    3. In the Value box, type the value of the attribute.
    4. Click Add.

ShowRemove XML tags

  1. In the XML Structure pane, select the Show XML tags in the document check box.
  2. In the document, rest the mouse pointer on a Start of Tag Name or End of Tag Name tag.
  3. Right-click, and then click Remove Tag Name tag to remove the tag without deleting its content.

    Note  Each element has a start tag and an end tag. The tags can be removed as a pair only.

advertisement