# annotation element

Represents a tracked insertion, deletion, formatting change, comment, or bookmark in a document.

## Usage

    <annotation
    	type="type"
    	id="aml:idType"
    	author="aml:authorType"
    	createdate="aml:dateType"
    />

## Element Information

Element type | AnnType
Namespace | http://schemas.microsoft.com/aml/2001/core
Schema name | Annotation Markup Language

## Elements and Attributes

### Child Elements

Element | Description
--- | ---
arc | Not used by Microsoft Office Word 2003.
context | Not used by Microsoft Office Word 2003.
content | Contains the insertion, deletion, formatting change, comment, or bookmark. Usually contains elements from the XML Document 2003 namespace.
property | Not used by Microsoft Office Word 2003.

### Attributes

Attribute | Type | Required | Description | Possible Values
--- | --- | --- | --- | ---
type | type | optional | Not used by Microsoft Office Word 2003. | simple extended locator arc resource title
id | idType | required | Uniquely identifies the insertion, deletion, formatting change, comment, or bookmark. |
author | authorType | optional | Returns the document's author from the document properties collection. Not used for bookmarks. |
createdate | dateType | optional | Returns the created date from the document properties collection. Not used for bookmarks. |

## Definition

    <xsd:element name="annotation" type="aml:AnnType" >
      <xsd:unique name="uniqueContentAnchorIdsInsideAnnotations">
        <xsd:selector xpath="aml:content"></xsd:selector>
        <xsd:field xpath="@id"></xsd:field>
      </xsd:unique>
      <xsd:unique name="uniqueContextAnchorIdsInsideAnnotations">
        <xsd:selector xpath="aml:context"></xsd:selector>
        <xsd:field xpath="@id"></xsd:field>
      </xsd:unique>
    </xsd:element>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp