1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346
|
<html dir="ltr"><head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META HTTP-EQUIV="assetid" CONTENT="HV01084528"><META NAME="lcid" CONTENT="1033"><title>Microsoft.Search.Response.Document Schema</title><link rel="stylesheet" type="text/css" href="office10.css"><script type="text/javascript" language="Javascript" src="ExpCollapse.js"></script><script type="text/javascript" language="JavaScript" src="inline.js"></script></head><body><h1>Microsoft.Search.Response.Document Schema</h1><p>This topic contains the annotated text of the Microsoft.Search.Response.Document.xsd schema file. For additional information about this schema, see <a href="rsxsdResponseDocumentDocs.htm" id="HV01087690" lcid=" ">Microsoft.Search.Response.Document Schema Documentation</a>.</p><pre><code><?xml version="1.0" encoding="utf-8" ?>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- Schema: Response.Document.xsd -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="urn:Microsoft.Search.Response.Document"
xmlns="urn:Microsoft.Search.Response.Document"
elementFormDefault="qualified"
xmlns:t="urn:Microsoft.Search.Types">
<xsd:annotation>
<xsd:documentation>
This document is provided for informational purposes
only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED,
AS TO THE INFORMATION IN THIS DOCUMENT. Complying with
all applicable copyright laws is the responsibility of
the user. Microsoft may have patents, patent
applications, trademarks, copyrights, or other
intellectual property rights covering subject matter in
this document. Except as expressly provided in any
written license agreement from Microsoft, the furnishing
of this document does not give you any license to these
patents, trademarks, copyrights, or other intellectual
property. (c) 2003 Microsoft Corporation. All rights
reserved.
</xsd:documentation>
<xsd:documentation>
Defines a document, which typically consists of a title,
description, and link.
</xsd:documentation>
</xsd:annotation>
<xsd:import schemaLocation="Microsoft.Search.Types.xsd"
namespace="urn:Microsoft.Search.Types" />
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- Root Element: Document -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - -->
<xsd:element name="Document">
<xsd:annotation>
<xsd:documentation>
Defines a document, which typically consists of a
title, description, and link.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Title"
type="TitleType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
Title of the document. If not specified,
a default will be provided.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Action"
type="ActionType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
The URL to be launched.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="DisplayUrl"
type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
The friendly name for the link that will
display in the results.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="DestinationUrl"
type="xsd:anyURI" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
This is the URL where the user will
finally end up after all the possible
redirections. Used for removal of
duplications.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Description"
type="DescriptionType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
Document description
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Date"
type="xsd:dateTime" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
This date could have a different
connotation depending on the context.
It could mean last crawled date, last
updated date, or expiration date (for
news). It's up to the server and client
to decide its usage. Office does not
currently use this.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Media" type="MediaType"
minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>
Collection of media elements related to
the result. The type attribute defines
whether it's an image, audio, or video
link.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:any namespace="##other" minOccurs="0"
maxOccurs="unbounded" processContents="skip">
<xsd:annotation>
<xsd:documentation>
Any element in another namespace. Can be
used for extensibility in the future.
</xsd:documentation>
</xsd:annotation>
</xsd:any>
</xsd:sequence>
<xsd:attribute name="type"
type="t:String255" use="optional">
<xsd:annotation>
<xsd:documentation>
Arbitrary type that defines the kind of
document. Not currently used by Office.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="relevance"
type="xsd:double" use="optional">
<xsd:annotation>
<xsd:documentation>
Relevance information, with 1 being the
highest. Not currently used by Office.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="revision"
type="xsd:unsignedInt" use="optional">
<xsd:annotation>
<xsd:documentation>
Unsigned integer indicating the revision of
the schema used in the response.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="build"
type="t:String255" use="optional">
<xsd:annotation>
<xsd:documentation>
The build of the component used to generate
the response.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="rtl"
type="xsd:boolean" use="optional">
<xsd:annotation>
<xsd:documentation>
If set to 'true' then the document is
right-to-left. If set to 'false' then
the document is left-to-right. If
unspecified, the system will choose.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- Type: TitleType -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - -->
<xsd:complexType name="TitleType">
<xsd:annotation>
<xsd:documentation>
Defines the title of a document.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="t:String2048">
<xsd:attribute name="rtl"
type="xsd:boolean" use="optional">
<xsd:annotation>
<xsd:documentation>
If set to 'true' then the text is
right-to-left. If set to 'false'
then the text is left-to-right.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- Type: ActionType -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - -->
<xsd:complexType name="ActionType">
<xsd:annotation>
<xsd:documentation>
Defines the URL to be launched and requery context
to be sent up.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="LinkUrl">
<xsd:annotation>
<xsd:documentation>
The url that the user goes to initially.
The user might be redirected from this url
to someplace else.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:anyURI">
<xsd:attribute name="fileExt"
type="t:String255" use="optional">
<xsd:annotation>
<xsd:documentation>
The file extension for the
file. Used to generate an
icon for it.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="size"
type="xsd:unsignedInt"
use="optional">
<xsd:annotation>
<xsd:documentation>
The size of the file in
bytes.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="forPay"
type="xsd:boolean" use="optional"
default="false">
<xsd:annotation>
<xsd:documentation>
If set to 'true' it
indicates that the link
takes the user to paid
content through a special
currency icon.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- Type: DescriptionType -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - -->
<xsd:complexType name="DescriptionType">
<xsd:annotation>
<xsd:documentation>
Defines a document's description.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="rtl"
type="xsd:boolean" use="optional">
<xsd:annotation>
<xsd:documentation>
If set to 'true' then the text is
right-to-left. If set to 'false'
then the text is left-to-right.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- Type: MediaType -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - -->
<xsd:complexType name="MediaType">
<xsd:annotation>
<xsd:documentation>
A media element related to the result. The type
attribute defines whether it is an image, audio clip,
or video clip. Office only handles images.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="SrcUrl" type="xsd:anyURI">
<xsd:annotation>
<xsd:documentation>
This is the source of the media clip.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="LinkUrl"
type="xsd:anyURI" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
This is the url associated with images.
Office does not currently support this.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="AltText"
type="t:String255" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
Alternative text associated with the image.
Used by accessibility tools.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="type" use="required">
<xsd:annotation>
<xsd:documentation>
The type of media. Office only understands the
image type.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="IMAGE" />
<xsd:enumeration value="AUDIO" />
<xsd:enumeration value="VIDEO" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
</xsd:schema>
</code></pre><center><a href="XMLSchemaCopyright_HV01147162.htm">©2003-2004 Microsoft Corporation. All rights reserved.</a>
Permission to copy, display and distribute this document is available at: <a
href="http://r.office.microsoft.com/r/rlidAWSContentRedir?AssetID=XT010988631033&CTT=11&Origin=HV011232471033"
target="_new">http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp</a></center></body></html>
|