This accompanies the XMSG XML Messaging Specification Note.
Copyright ©2000 W3C ® (MIT, INRIA, Keio), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply.
This type represents a document encoded within a message. This document may be an inline XML document, an inline non-XML document, or an out-of-band XML document via a reference. In all cases, a set of properties may be associated with the document.
The "uri" attribute identifies the URI of the document. This URI must be unique to the message and should be considered the identity of the document. In this way, the URI can be use to match document between the sender and receiver.
Element only content consisting of:
Sequence of | property
[*]
|
Name | Required | Default | Datatype | Description |
---|---|---|---|---|
version | no | string (XML Schema) | An application-dependent version string for this document. | |
uri | yes | absoluteURI (S) | The URI to be used to identify the contained or referred document. This value must be absolute. |
<complexType content="elementOnly" name="document"> <annotation> <documentation> <body> <p>This type represents a document encoded within a message. This document may be an inline XML document, an inline non-XML document, or an out-of-band XML document via a reference. In all cases, a set of properties may be associated with the document.</p> <p>The "uri" attribute identifies the URI of the document. This URI must be unique to the message and should be considered the identity of the document. In this way, the URI can be use to match document between the sender and receiver.</p> </body> </documentation> </annotation> <sequence minOccurs="1" maxOccurs="1"> <element minOccurs="0" ref="property" maxOccurs="unbounded"></element> <choice minOccurs="1" maxOccurs="1"> <element minOccurs="1" ref="content" maxOccurs="1"></element> <element minOccurs="1" ref="data" maxOccurs="1"></element> <element minOccurs="1" ref="data.reference" maxOccurs="1"></element> </choice> </sequence> <attribute use="required" type="xmsg:absoluteURI" name="uri"> <annotation> <documentation> <body> <p>The URI to be used to identify the contained or referred document. This value must be absolute.</p> </body> </documentation> </annotation> </attribute> <attribute use="default" type="string" name="version"> <annotation> <documentation> <body> <p>An application-dependent version string for this document.</p> </body> </documentation> </annotation> </attribute> </complexType> |