Namespace: |
|
Content: |
complex, 3 attributes, 2 elements, elem. wildcard |
Defined: |
globally in myDocuments.xsd; see XML source |
Includes: |
definitions of 3 attributes, 2 elements, elem. wildcard |
Used: |
at 1 location |
XML Representation Summary |
||||||||||||
<... |
||||||||||||
|
||||||||||||
> |
||||||||||||
|
||||||||||||
</...> |
<xsd:annotation>
<xsd:documentation>
</xsd:annotation>
This element defines a reference to a document.
</xsd:documentation>
Documents are all ref-counted objects. These references can be deleted through the standard delete method. When the final reference is deleted, the file and all associated metadata are deleted. References always refer to a specific folder. This means that documents conceptually "exist" within one or more Folders. The traditional "file name" for the document is unique per reference. References can also specify a time to live. This allows other services to post data to a user's store temporarily. For example, they can use the user's store to create temp files. If all references have expired then the document is automatically deleted. However, if any reference exists that has not expired, then all references, including ones that have expired, remain valid. When adding a reference to an existing document, the reference must refer to an existing folder ID, and the name given must be unique within that folder. Updates to references require that any update leave the name unique within the referencing folder. If the final reference to a document is deleted, then the deletion of the reference results in the deletion of the document and all associated streams. <xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="delete" type="xsd:int">
</xsd:sequence>
<xsd:annotation>
</xsd:element>
<xsd:documentation>
</xsd:annotation>
If this element exists, it specifies an HTTP GET operation to be performed to delete the reference cleanly.
</xsd:documentation>
This would be placed here by another service that stored data in the .NET Documents service.
<xsd:annotation>
</xsd:element>
<xsd:documentation>
</xsd:annotation>
If this element exists, it specifies a URL that can be used to render HTML to display the referenced object.
</xsd:documentation>
For example, if the document is a photograph in a photo album, this URL would show the document in the appropriate context. <xsd:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="skip"/>
<xsd:annotation>
</xsd:attribute>
<xsd:documentation>
</xsd:annotation>
The ID of the folder object that holds this reference to this object.
</xsd:documentation>
<xsd:annotation>
</xsd:attribute>
<xsd:documentation>
</xsd:annotation>
The name of this document within this reference folder.
</xsd:documentation>
<xsd:annotation>
</xsd:attribute>
<xsd:documentation>
</xsd:annotation>
If this attribute exists, then it specifies the number of minutes this reference is valid relative to the last
</xsd:documentation>
access time for the document. </xsd:complexType>
|
Type: |
xsd:dateTime, predefined |
Use: |
optional |
Defined: |
<xsd:annotation>
<xsd:documentation>
</xsd:annotation>
If this attribute exists, then it specifies the number of minutes this reference is valid relative to the last
</xsd:documentation>
access time for the document. </xsd:attribute>
|
Type: |
|
Use: |
optional |
Defined: |
<xsd:annotation>
<xsd:documentation>
</xsd:annotation>
The ID of the folder object that holds this reference to this object.
</xsd:documentation>
</xsd:attribute>
|
Type: |
xsd:string, predefined |
Use: |
optional |
Defined: |
<xsd:annotation>
<xsd:documentation>
</xsd:annotation>
The name of this document within this reference folder.
</xsd:documentation>
</xsd:attribute>
|
Type: |
xsd:int, predefined, simple content |
Defined: |
<xsd:annotation>
<xsd:documentation>
</xsd:annotation>
If this element exists, it specifies an HTTP GET operation to be performed to delete the reference cleanly.
</xsd:documentation>
This would be placed here by another service that stored data in the .NET Documents service. </xsd:element>
|
Type: |
hs:string, simple content |
Defined: |
<xsd:annotation>
<xsd:documentation>
</xsd:annotation>
If this element exists, it specifies a URL that can be used to render HTML to display the referenced object.
</xsd:documentation>
For example, if the document is a photograph in a photo album, this URL would show the document in the appropriate context. </xsd:element>
|
Defined: |
<xsd:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="skip"/>
|