File: rsxsdResponseDocument.htm

package info (click to toggle)
office2003-schemas 1.0%2Bds-1
  • links: PTS, VCS
  • area: non-free
  • in suites: bookworm, forky, sid, trixie
  • size: 42,304 kB
  • sloc: javascript: 2,429; makefile: 29
file content (346 lines) | stat: -rw-r--r-- 18,507 bytes parent folder | download
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>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
&lt;!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --&gt;
&lt;!-- Schema: Response.Document.xsd                               --&gt;
&lt;!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --&gt;
&lt;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"&gt;
    &lt;xsd:annotation&gt;
        &lt;xsd:documentation&gt;
            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.
        &lt;/xsd:documentation&gt;
        &lt;xsd:documentation&gt;
            Defines a document, which typically consists of a title, 
            description, and link.
        &lt;/xsd:documentation&gt;
    &lt;/xsd:annotation&gt;
    &lt;xsd:import schemaLocation="Microsoft.Search.Types.xsd" 
        namespace="urn:Microsoft.Search.Types" /&gt;
    &lt;!-- - - - - - - - - - - - - - - - - - - - - - - - - - --&gt;
    &lt;!-- Root Element: Document                            --&gt;
    &lt;!-- - - - - - - - - - - - - - - - - - - - - - - - - - --&gt;
    &lt;xsd:element name="Document"&gt;
        &lt;xsd:annotation&gt;
            &lt;xsd:documentation&gt;
                Defines a document, which typically consists of a
                title, description, and link.
            &lt;/xsd:documentation&gt;
        &lt;/xsd:annotation&gt;
        &lt;xsd:complexType&gt;
            &lt;xsd:sequence&gt;
                &lt;xsd:element name="Title" 
                    type="TitleType" minOccurs="0"&gt;
                    &lt;xsd:annotation&gt;
                        &lt;xsd:documentation&gt;
                            Title of the document.  If not specified, 
                            a default will be provided.
                        &lt;/xsd:documentation&gt;
                    &lt;/xsd:annotation&gt;
                &lt;/xsd:element&gt;
                &lt;xsd:element name="Action" 
                    type="ActionType" minOccurs="0"&gt;
                    &lt;xsd:annotation&gt;
                        &lt;xsd:documentation&gt;
                            The URL to be launched.
                        &lt;/xsd:documentation&gt;
                    &lt;/xsd:annotation&gt;
                &lt;/xsd:element&gt;
                &lt;xsd:element name="DisplayUrl" 
                    type="xsd:string" minOccurs="0"&gt;
                    &lt;xsd:annotation&gt;
                        &lt;xsd:documentation&gt;
                            The friendly name for the link that will 
                            display in the results.
                        &lt;/xsd:documentation&gt;
                    &lt;/xsd:annotation&gt;
                &lt;/xsd:element&gt;
                &lt;xsd:element name="DestinationUrl" 
                    type="xsd:anyURI" minOccurs="0"&gt;
                    &lt;xsd:annotation&gt;
                        &lt;xsd:documentation&gt;
                            This is the URL where the user will 
                            finally end up after all the possible 
                            redirections.  Used for removal of 
                            duplications.
                        &lt;/xsd:documentation&gt;
                    &lt;/xsd:annotation&gt;
                &lt;/xsd:element&gt;
                &lt;xsd:element name="Description" 
                    type="DescriptionType" minOccurs="0"&gt;
                    &lt;xsd:annotation&gt;
                        &lt;xsd:documentation&gt;
                            Document description
                        &lt;/xsd:documentation&gt;
                    &lt;/xsd:annotation&gt;
                &lt;/xsd:element&gt;
                &lt;xsd:element name="Date" 
                    type="xsd:dateTime" minOccurs="0"&gt;
                    &lt;xsd:annotation&gt;
                        &lt;xsd:documentation&gt;
                            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.
                        &lt;/xsd:documentation&gt;
                    &lt;/xsd:annotation&gt;
                &lt;/xsd:element&gt;
                &lt;xsd:element name="Media" type="MediaType" 
                    minOccurs="0" maxOccurs="unbounded"&gt;
                    &lt;xsd:annotation&gt;
                        &lt;xsd:documentation&gt;
                            Collection of media elements related to 
                            the result.  The type attribute defines 
                            whether it's an image, audio, or video 
                            link.
                        &lt;/xsd:documentation&gt;
                    &lt;/xsd:annotation&gt;
                &lt;/xsd:element&gt;
                &lt;xsd:any namespace="##other" minOccurs="0" 
                    maxOccurs="unbounded" processContents="skip"&gt;
                    &lt;xsd:annotation&gt;
                        &lt;xsd:documentation&gt;
                            Any element in another namespace.  Can be 
                            used for extensibility in the future.
                        &lt;/xsd:documentation&gt;
                    &lt;/xsd:annotation&gt;
                &lt;/xsd:any&gt;
            &lt;/xsd:sequence&gt;
            &lt;xsd:attribute name="type" 
                type="t:String255" use="optional"&gt;
                &lt;xsd:annotation&gt;
                    &lt;xsd:documentation&gt;
                        Arbitrary type that defines the kind of 
                        document.  Not currently used by Office.
                    &lt;/xsd:documentation&gt;
                &lt;/xsd:annotation&gt;
            &lt;/xsd:attribute&gt;
            &lt;xsd:attribute name="relevance" 
                type="xsd:double" use="optional"&gt;
                &lt;xsd:annotation&gt;
                    &lt;xsd:documentation&gt;
                        Relevance information, with 1 being the 
                        highest.  Not currently used by Office.
                    &lt;/xsd:documentation&gt;
                &lt;/xsd:annotation&gt;
            &lt;/xsd:attribute&gt;
            &lt;xsd:attribute name="revision" 
                type="xsd:unsignedInt" use="optional"&gt;
                &lt;xsd:annotation&gt;
                    &lt;xsd:documentation&gt;
                        Unsigned integer indicating the revision of 
                        the schema used in the response.
                    &lt;/xsd:documentation&gt;
                &lt;/xsd:annotation&gt;
            &lt;/xsd:attribute&gt;
            &lt;xsd:attribute name="build" 
                type="t:String255" use="optional"&gt;
                &lt;xsd:annotation&gt;
                    &lt;xsd:documentation&gt;
                        The build of the component used to generate 
                        the response.
                    &lt;/xsd:documentation&gt;
                &lt;/xsd:annotation&gt;
            &lt;/xsd:attribute&gt;
            &lt;xsd:attribute name="rtl" 
                type="xsd:boolean" use="optional"&gt;
                &lt;xsd:annotation&gt;
                    &lt;xsd:documentation&gt;
                        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.
                    &lt;/xsd:documentation&gt;
                &lt;/xsd:annotation&gt;
            &lt;/xsd:attribute&gt;
        &lt;/xsd:complexType&gt;
    &lt;/xsd:element&gt;
    &lt;!-- - - - - - - - - - - - - - - - - - - - - - - - - - --&gt;
    &lt;!-- Type: TitleType                                   --&gt;
    &lt;!-- - - - - - - - - - - - - - - - - - - - - - - - - - --&gt;
    &lt;xsd:complexType name="TitleType"&gt;
        &lt;xsd:annotation&gt;
            &lt;xsd:documentation&gt;
                Defines the title of a document.
            &lt;/xsd:documentation&gt;
        &lt;/xsd:annotation&gt;
        &lt;xsd:simpleContent&gt;
            &lt;xsd:extension base="t:String2048"&gt;
                &lt;xsd:attribute name="rtl" 
                    type="xsd:boolean" use="optional"&gt;
                    &lt;xsd:annotation&gt;
                        &lt;xsd:documentation&gt;
                            If set to 'true' then the text is 
                            right-to-left.  If set to 'false' 
                            then the text is left-to-right.
                        &lt;/xsd:documentation&gt;
                    &lt;/xsd:annotation&gt;
                &lt;/xsd:attribute&gt;
            &lt;/xsd:extension&gt;
        &lt;/xsd:simpleContent&gt;
    &lt;/xsd:complexType&gt;
    &lt;!-- - - - - - - - - - - - - - - - - - - - - - - - - - --&gt;
    &lt;!-- Type: ActionType                                  --&gt;
    &lt;!-- - - - - - - - - - - - - - - - - - - - - - - - - - --&gt;
    &lt;xsd:complexType name="ActionType"&gt;
        &lt;xsd:annotation&gt;
            &lt;xsd:documentation&gt;
                Defines the URL to be launched and requery context 
                to be sent up.
            &lt;/xsd:documentation&gt;
        &lt;/xsd:annotation&gt;
        &lt;xsd:sequence&gt;
            &lt;xsd:element name="LinkUrl"&gt;
                &lt;xsd:annotation&gt;
                    &lt;xsd:documentation&gt;
                        The url that the user goes to initially.  
                        The user might be redirected from this url 
                        to someplace else.
                    &lt;/xsd:documentation&gt;
                &lt;/xsd:annotation&gt;
                &lt;xsd:complexType&gt;
                    &lt;xsd:simpleContent&gt;
                        &lt;xsd:extension base="xsd:anyURI"&gt;
                            &lt;xsd:attribute name="fileExt" 
                                type="t:String255" use="optional"&gt;
                                &lt;xsd:annotation&gt;
                                    &lt;xsd:documentation&gt;
                                        The file extension for the 
                                        file.  Used to generate an 
                                        icon for it.
                                    &lt;/xsd:documentation&gt;
                                &lt;/xsd:annotation&gt;
                            &lt;/xsd:attribute&gt;
                            &lt;xsd:attribute name="size" 
                                type="xsd:unsignedInt" 
                                use="optional"&gt;
                                &lt;xsd:annotation&gt;
                                    &lt;xsd:documentation&gt;
                                        The size of the file in 
                                        bytes.
                                    &lt;/xsd:documentation&gt;
                                &lt;/xsd:annotation&gt;
                            &lt;/xsd:attribute&gt;
                            &lt;xsd:attribute name="forPay" 
                                type="xsd:boolean" use="optional" 
                                default="false"&gt;
                                &lt;xsd:annotation&gt;
                                    &lt;xsd:documentation&gt;
                                        If set to 'true' it 
                                        indicates that the link 
                                        takes the user to paid 
                                        content through a special 
                                        currency icon.
                                    &lt;/xsd:documentation&gt;
                                &lt;/xsd:annotation&gt;
                            &lt;/xsd:attribute&gt;
                        &lt;/xsd:extension&gt;
                    &lt;/xsd:simpleContent&gt;
                &lt;/xsd:complexType&gt;
            &lt;/xsd:element&gt;
        &lt;/xsd:sequence&gt;
    &lt;/xsd:complexType&gt;
    &lt;!-- - - - - - - - - - - - - - - - - - - - - - - - - - --&gt;
    &lt;!-- Type: DescriptionType                             --&gt;
    &lt;!-- - - - - - - - - - - - - - - - - - - - - - - - - - --&gt;
    &lt;xsd:complexType name="DescriptionType"&gt;
        &lt;xsd:annotation&gt;
            &lt;xsd:documentation&gt;
                Defines a document's description.
            &lt;/xsd:documentation&gt;
        &lt;/xsd:annotation&gt;
        &lt;xsd:simpleContent&gt;
            &lt;xsd:extension base="xsd:string"&gt;
                &lt;xsd:attribute name="rtl" 
                    type="xsd:boolean" use="optional"&gt;
                    &lt;xsd:annotation&gt;
                        &lt;xsd:documentation&gt;
                            If set to 'true' then the text is 
                            right-to-left.  If set to 'false' 
                            then the text is left-to-right.
                        &lt;/xsd:documentation&gt;
                    &lt;/xsd:annotation&gt;
                &lt;/xsd:attribute&gt;
            &lt;/xsd:extension&gt;
        &lt;/xsd:simpleContent&gt;
    &lt;/xsd:complexType&gt;
    &lt;!-- - - - - - - - - - - - - - - - - - - - - - - - - - --&gt;
    &lt;!-- Type: MediaType                                   --&gt;
    &lt;!-- - - - - - - - - - - - - - - - - - - - - - - - - - --&gt;
    &lt;xsd:complexType name="MediaType"&gt;
        &lt;xsd:annotation&gt;
            &lt;xsd:documentation&gt;
                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.
            &lt;/xsd:documentation&gt;
        &lt;/xsd:annotation&gt;
        &lt;xsd:sequence&gt;
            &lt;xsd:element name="SrcUrl" type="xsd:anyURI"&gt;
                &lt;xsd:annotation&gt;
                    &lt;xsd:documentation&gt;
                        This is the source of the media clip.
                    &lt;/xsd:documentation&gt;
                &lt;/xsd:annotation&gt;
            &lt;/xsd:element&gt;
            &lt;xsd:element name="LinkUrl" 
                type="xsd:anyURI" minOccurs="0"&gt;
                &lt;xsd:annotation&gt;
                    &lt;xsd:documentation&gt;
                        This is the url associated with images.  
                        Office does not currently support this.
                    &lt;/xsd:documentation&gt;
                &lt;/xsd:annotation&gt;
            &lt;/xsd:element&gt;
            &lt;xsd:element name="AltText" 
                type="t:String255" minOccurs="0"&gt;
                &lt;xsd:annotation&gt;
                    &lt;xsd:documentation&gt;
                        Alternative text associated with the image.  
                        Used by accessibility tools.
                    &lt;/xsd:documentation&gt;
                &lt;/xsd:annotation&gt;
            &lt;/xsd:element&gt;
        &lt;/xsd:sequence&gt;
        &lt;xsd:attribute name="type" use="required"&gt;
            &lt;xsd:annotation&gt;
                &lt;xsd:documentation&gt;
                    The type of media.  Office only understands the 
                    image type.
                &lt;/xsd:documentation&gt;
            &lt;/xsd:annotation&gt;
            &lt;xsd:simpleType&gt;
                &lt;xsd:restriction base="xsd:string"&gt;
                    &lt;xsd:enumeration value="IMAGE" /&gt;
                    &lt;xsd:enumeration value="AUDIO" /&gt;
                    &lt;xsd:enumeration value="VIDEO" /&gt;
                &lt;/xsd:restriction&gt;
            &lt;/xsd:simpleType&gt;
        &lt;/xsd:attribute&gt;
    &lt;/xsd:complexType&gt;
&lt;/xsd:schema&gt;
</code></pre><center><a href="XMLSchemaCopyright_HV01147162.htm">&copy;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&amp;CTT=11&amp;Origin=HV011232471033" 

target="_new">http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp</a></center></body></html>