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:
Add XML tags
- 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.
-
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.
- If necessary, specify an attribute for the element.
How?
- In the XML Structure pane, right-click the element in the tree in the Elements in the document box, and then click Attributes.
- In the Available attributes list, select the attribute you want.
- In the Value box, type the value of the attribute.
- Click Add.
Remove XML tags
- In the XML Structure pane, select the Show XML tags in the document check box.
- In the document, rest the mouse pointer on a Start of Tag Name or End of Tag Name tag.
- 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.