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
  
     | 
    
      <html dir="ltr"><head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META HTTP-EQUIV="assetid" CONTENT="HV01087674"><META NAME="lcid" CONTENT="1033"><title>Microsoft.Search.Query.Office.Context Schema Documentation</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.Query.Office.Context Schema Documentation</h1><p>This topic contains documentation for the Microsoft.Search.Query.Office.Context schema. For the text of the schema, see <a href="rsxsdQueryOfficeContext.htm" id="HV01084523" lcid=" ">Microsoft.Search.Query.Office.Context Schema</a>.</p><h2>Documentation for the urn:Microsoft.Search.Query.Office.Context schema</h2><p>Defines context information that augments a query.  The root element in this schema is designed to be used inside the Microsoft.Search.Query.xsd schema.</p><h2>Basic Schema Attributes</h2><table><tr><th>Attribute</th><th>Value</th></tr><tr><td>targetNamespace</td><td>urn:Microsoft.Search.Query.Office.Context</td></tr><tr><td>elementFormDefault</td><td>qualified</td></tr><tr><td>attributeFormDefault</td><td>unqualified <i>(default)</i></td></tr></table><h2>Declared Namespaces</h2><table><tr><th>Namespace</th><th>Prefix</th></tr><tr><td>urn:Microsoft.Search.Types</td><td>t:
										</td></tr><tr><td>urn:Microsoft.Search.Query.Office.Context</td><td><i>(default)</i></td></tr><tr><td>http://www.w3.org/2001/XMLSchema</td><td>xsd:
										</td></tr><tr><td>http://www.w3.org/XML/1998/namespace</td><td>xml:
										</td></tr></table><h2>Imported Schemas</h2><table><tr><th>namespace</th><th>id</th><th>schemaLocation</th></tr><tr><td>urn:Microsoft.Search.Types</td><td><i>(none)</i></td><td><a href="rsxsdTypes.htm" id="HV010845191033" lcid=" ">Microsoft.Search.Types.xsd</a></td></tr></table><h2>Overview</h2><p><a href="#OfficeContext">
										<OfficeContext>
									</a></p><p>      <a href="#OfficeContext_UserPreferences">
												<UserPreferences>
											</a></p><p>            <a href="#UserPreferencesType_ParentalControl">
										<ParentalControl/>
									</a></p><p>            <a href="#UserPreferencesType_Any">
				<Any/>
			</a></p><p>      </UserPreferences></p><p>      <a href="#OfficeContext_ServiceData">
												<ServiceData>
											</a></p><p>            <a href="#ServiceDataType_Data">
										<Data/>
									</a></p><p>            <a href="#ServiceDataType_Any">
				<Any/>
			</a></p><p>      </ServiceData></p><p>      <a href="#OfficeContext_ApplicationContext">
												<ApplicationContext>
											</a></p><p>            <a href="#ApplicationType_Name">
										<Name/>
									</a></p><p>            <a href="#ApplicationType_Version">
										<Version/>
									</a></p><p>            <a href="#ApplicationType_SystemInformation">
												<SystemInformation>
											</a></p><p>                  <a href="#SystemInformationType_SkuLanguage">
										<SkuLanguage/>
									</a></p><p>                  <a href="#SystemInformationType_LanguagePack">
										<LanguagePack/>
									</a></p><p>                  <a href="#SystemInformationType_InterfaceLanguage">
										<InterfaceLanguage/>
									</a></p><p>                  <a href="#SystemInformationType_Location">
										<Location/>
									</a></p><p>                  <a href="#SystemInformationType_Any">
				<Any/>
			</a></p><p>            </SystemInformation></p><p>            <a href="#ApplicationType_Any">
				<Any/>
			</a></p><p>      </ApplicationContext></p><p>      <a href="#OfficeContext_QueryLanguage">
										<QueryLanguage/>
									</a></p><p>      <a href="#OfficeContext_KeyboardLanguage">
										<KeyboardLanguage/>
									</a></p><p>      <a href="#OfficeContext_Any">
				<Any/>
			</a></p><p></OfficeContext></p><h2>Top-Level Elements</h2><p><a id="OfficeContext" name="OfficeContext">
					<b class="bterm">Element:
					OfficeContext</b></a></p><p>Context information that may be useful in better handling the query.  Describes context information generated by Microsoft® Office 2003.</p><table><tr><th>Property</th><th>Value</th></tr><tr><td>abstract</td><td>false <i>(default)</i></td></tr><tr><td>name</td><td>OfficeContext</td></tr><tr><td>nillable</td><td>false <i>(default)</i></td></tr><tr><td>type</td><td>complexType</td></tr></table><p><b class="bterm">Attributes</b></p><ul><li><p><b class="bterm">Attribute: revision</b></p><p>Unsigned integer indicating the revision of the schema used in the request.</p><table><tr><th>Property</th><th>Value</th></tr><tr><td>name</td><td>revision</td></tr><tr><td>type</td><td>xsd:unsignedInt</td></tr><tr><td>use</td><td>optional</td></tr></table></li><li><p><b class="bterm">Attribute: build</b></p><p>The build of the component used to generate the request.</p><table><tr><th>Property</th><th>Value</th></tr><tr><td>name</td><td>build</td></tr><tr><td>type</td><td><a href="rsxsdTypes.htm" id="HV010845191033" lcid=" ">t:String255</a></td></tr><tr><td>use</td><td>optional</td></tr></table></li></ul><p><b class="bterm">Subelements: Sequence</b></p><p>Elements must appear in the specified order.</p><ul><li><p><a id="OfficeContext_UserPreferences" name="OfficeContext_UserPreferences">
					<b class="bterm">Element:
					UserPreferences</b></a></p><p>User information and preferences.</p><table><tr><th>Property</th><th>Value</th></tr><tr><td>abstract</td><td>false <i>(default)</i></td></tr><tr><td>minOccurs</td><td>0</td></tr><tr><td>maxOccurs</td><td>1 <i>(default)</i></td></tr><tr><td>name</td><td>UserPreferences</td></tr><tr><td>nillable</td><td>false <i>(default)</i></td></tr><tr><td>type</td><td><a href="#UserPreferencesType">UserPreferencesType</a></td></tr></table></li><li><p><a id="OfficeContext_ServiceData" name="OfficeContext_ServiceData">
					<b class="bterm">Element:
					ServiceData</b></a></p><p>Data that the service has stored with Office.</p><table><tr><th>Property</th><th>Value</th></tr><tr><td>abstract</td><td>false <i>(default)</i></td></tr><tr><td>minOccurs</td><td>0</td></tr><tr><td>maxOccurs</td><td>1 <i>(default)</i></td></tr><tr><td>name</td><td>ServiceData</td></tr><tr><td>nillable</td><td>false <i>(default)</i></td></tr><tr><td>type</td><td><a href="#ServiceDataType">ServiceDataType</a></td></tr></table></li><li><p><a id="OfficeContext_ApplicationContext" name="OfficeContext_ApplicationContext">
					<b class="bterm">Element:
					ApplicationContext</b></a></p><p>The name and version of the application the user is in.</p><table><tr><th>Property</th><th>Value</th></tr><tr><td>abstract</td><td>false <i>(default)</i></td></tr><tr><td>minOccurs</td><td>0</td></tr><tr><td>maxOccurs</td><td>1 <i>(default)</i></td></tr><tr><td>name</td><td>ApplicationContext</td></tr><tr><td>nillable</td><td>false <i>(default)</i></td></tr><tr><td>type</td><td><a href="#ApplicationType">ApplicationType</a></td></tr></table></li><li><p><a id="OfficeContext_QueryLanguage" name="OfficeContext_QueryLanguage">
					<b class="bterm">Element:
					QueryLanguage</b></a></p><p>The language that the query is in, if the application recognizes it.</p><table><tr><th>Property</th><th>Value</th></tr><tr><td>abstract</td><td>false <i>(default)</i></td></tr><tr><td>minOccurs</td><td>0</td></tr><tr><td>maxOccurs</td><td>1 <i>(default)</i></td></tr><tr><td>name</td><td>QueryLanguage</td></tr><tr><td>nillable</td><td>false <i>(default)</i></td></tr><tr><td>type</td><td>xsd:language</td></tr></table></li><li><p><a id="OfficeContext_KeyboardLanguage" name="OfficeContext_KeyboardLanguage">
					<b class="bterm">Element:
					KeyboardLanguage</b></a></p><p>Language corresponding to the keyboard.</p><table><tr><th>Property</th><th>Value</th></tr><tr><td>abstract</td><td>false <i>(default)</i></td></tr><tr><td>minOccurs</td><td>0</td></tr><tr><td>maxOccurs</td><td>1 <i>(default)</i></td></tr><tr><td>name</td><td>KeyboardLanguage</td></tr><tr><td>nillable</td><td>false <i>(default)</i></td></tr><tr><td>type</td><td>xsd:language</td></tr></table></li><li><p><a id="OfficeContext_Any" name="OfficeContext_Any"><b class="bterm">Any</b></a></p><p>Any element in another namespace.  Can be used for extensibility in the future.</p><table><tr><th>Property</th><th>Value</th></tr><tr><td>namespace</td><td>##other</td></tr><tr><td>processContents</td><td>skip</td></tr><tr><td>minOccurs</td><td>0</td></tr><tr><td>maxOccurs</td><td>unbounded</td></tr></table></li></ul><h2>Top-Level Types and Groups</h2><ul><li><p><a id="UserPreferencesType" name="UserPreferencesType">
						<b class="bterm">Complex Type: UserPreferencesType</b></a></p><p>Describes user information and preferences.</p><p><b class="bterm">Attributes</b></p><p>None</p><p><b class="bterm">Subelements: Sequence</b></p><p>Elements must appear in the specified order.</p><ul><li><p><a id="UserPreferencesType_ParentalControl" name="UserPreferencesType_ParentalControl">
					<b class="bterm">Element:
					ParentalControl</b></a></p><p>Set to <b class="bterm">true</b> if the user requests filtered content.</p><table><tr><th>Property</th><th>Value</th></tr><tr><td>abstract</td><td>false <i>(default)</i></td></tr><tr><td>minOccurs</td><td>0</td></tr><tr><td>maxOccurs</td><td>1 <i>(default)</i></td></tr><tr><td>name</td><td>ParentalControl</td></tr><tr><td>nillable</td><td>false <i>(default)</i></td></tr><tr><td>type</td><td>xsd:boolean</td></tr></table></li><li><p><a id="UserPreferencesType_Any" name="UserPreferencesType_Any"><b class="bterm">Any</b></a></p><p>Any element in another namespace.  Can be used for extensibility in the future.</p><table><tr><th>Property</th><th>Value</th></tr><tr><td>namespace</td><td>##other</td></tr><tr><td>processContents</td><td>skip</td></tr><tr><td>minOccurs</td><td>0</td></tr><tr><td>maxOccurs</td><td>unbounded</td></tr></table></li></ul></li><li><p><a id="ServiceDataType" name="ServiceDataType">
						<b class="bterm">Complex Type: ServiceDataType</b></a></p><p>Describes service-specific data stored with Office 2003.</p><p><b class="bterm">Attributes</b></p><p>None</p><p><b class="bterm">Subelements: Sequence</b></p><p>Elements must appear in the specified order.</p><ul><li><p><a id="ServiceDataType_Data" name="ServiceDataType_Data">
					<b class="bterm">Element:
					Data</b></a></p><p>Data.</p><table><tr><th>Property</th><th>Value</th></tr><tr><td>abstract</td><td>false <i>(default)</i></td></tr><tr><td>minOccurs</td><td>0</td></tr><tr><td>maxOccurs</td><td>1 <i>(default)</i></td></tr><tr><td>name</td><td>Data</td></tr><tr><td>nillable</td><td>false <i>(default)</i></td></tr><tr><td>type</td><td><a href="rsxsdTypes.htm" id="HV010845191033" lcid=" ">t:String255</a></td></tr></table></li><li><p><a id="ServiceDataType_Any" name="ServiceDataType_Any"><b class="bterm">Any</b></a></p><p>Any element in another namespace.  Can be used for extensibility in the future.</p><table><tr><th>Property</th><th>Value</th></tr><tr><td>namespace</td><td>##other</td></tr><tr><td>processContents</td><td>skip</td></tr><tr><td>minOccurs</td><td>0</td></tr><tr><td>maxOccurs</td><td>unbounded</td></tr></table></li></ul></li><li><p><a id="ApplicationType" name="ApplicationType">
						<b class="bterm">Complex Type: ApplicationType</b></a></p><p>Describes data about the application that the user is running.</p><p><b class="bterm">Attributes</b></p><p>None</p><p><b class="bterm">Subelements: Sequence</b></p><p>Elements must appear in the specified order.</p><ul><li><p><a id="ApplicationType_Name" name="ApplicationType_Name">
					<b class="bterm">Element:
					Name</b></a></p><p>Application name.</p><table><tr><th>Property</th><th>Value</th></tr><tr><td>abstract</td><td>false <i>(default)</i></td></tr><tr><td>minOccurs</td><td>0</td></tr><tr><td>maxOccurs</td><td>1 <i>(default)</i></td></tr><tr><td>name</td><td>Name</td></tr><tr><td>nillable</td><td>false <i>(default)</i></td></tr><tr><td>type</td><td><a href="rsxsdTypes.htm" id="HV010845191033" lcid=" ">t:String255</a></td></tr></table></li><li><p><a id="ApplicationType_Version" name="ApplicationType_Version">
					<b class="bterm">Element:
					Version</b></a></p><p>Application version.</p><table><tr><th>Property</th><th>Value</th></tr><tr><td>abstract</td><td>false <i>(default)</i></td></tr><tr><td>minOccurs</td><td>0</td></tr><tr><td>maxOccurs</td><td>1 <i>(default)</i></td></tr><tr><td>name</td><td>Version</td></tr><tr><td>nillable</td><td>false <i>(default)</i></td></tr><tr><td>type</td><td><a href="rsxsdTypes.htm" id="HV010845191033" lcid=" ">t:String255</a></td></tr></table></li><li><p><a id="ApplicationType_SystemInformation" name="ApplicationType_SystemInformation">
					<b class="bterm">Element:
					SystemInformation</b></a></p><p>Information about the system that is sending the query.  The service provider can use this to determine how to respond.</p><table><tr><th>Property</th><th>Value</th></tr><tr><td>abstract</td><td>false <i>(default)</i></td></tr><tr><td>minOccurs</td><td>0</td></tr><tr><td>maxOccurs</td><td>1 <i>(default)</i></td></tr><tr><td>name</td><td>SystemInformation</td></tr><tr><td>nillable</td><td>false <i>(default)</i></td></tr><tr><td>type</td><td><a href="#SystemInformationType">SystemInformationType</a></td></tr></table></li><li><p><a id="ApplicationType_Any" name="ApplicationType_Any"><b class="bterm">Any</b></a></p><p>Any element in another namespace.  Can be used for extensibility in the future.</p><table><tr><th>Property</th><th>Value</th></tr><tr><td>namespace</td><td>##other</td></tr><tr><td>processContents</td><td>skip</td></tr><tr><td>minOccurs</td><td>0</td></tr><tr><td>maxOccurs</td><td>unbounded</td></tr></table></li></ul></li><li><p><a id="SystemInformationType" name="SystemInformationType">
						<b class="bterm">Complex Type: SystemInformationType</b></a></p><p>Describes information about the system that is requesting the information.  The service provider can use this to determine how to respond.</p><p><b class="bterm">Attributes</b></p><p>None</p><p><b class="bterm">Subelements: Sequence</b></p><p>Elements must appear in the specified order.</p><ul><li><p><a id="SystemInformationType_SkuLanguage" name="SystemInformationType_SkuLanguage">
					<b class="bterm">Element:
					SkuLanguage</b></a></p><p>The system's main language.</p><table><tr><th>Property</th><th>Value</th></tr><tr><td>abstract</td><td>false <i>(default)</i></td></tr><tr><td>minOccurs</td><td>0</td></tr><tr><td>maxOccurs</td><td>1 <i>(default)</i></td></tr><tr><td>name</td><td>SkuLanguage</td></tr><tr><td>nillable</td><td>false <i>(default)</i></td></tr><tr><td>type</td><td>xsd:language</td></tr></table></li><li><p><a id="SystemInformationType_LanguagePack" name="SystemInformationType_LanguagePack">
					<b class="bterm">Element:
					LanguagePack</b></a></p><p>One of the system's language flavors.  There could be multiple ones.</p><table><tr><th>Property</th><th>Value</th></tr><tr><td>abstract</td><td>false <i>(default)</i></td></tr><tr><td>minOccurs</td><td>0</td></tr><tr><td>maxOccurs</td><td>unbounded</td></tr><tr><td>name</td><td>LanguagePack</td></tr><tr><td>nillable</td><td>false <i>(default)</i></td></tr><tr><td>type</td><td>xsd:language</td></tr></table></li><li><p><a id="SystemInformationType_InterfaceLanguage" name="SystemInformationType_InterfaceLanguage">
					<b class="bterm">Element:
					InterfaceLanguage</b></a></p><p>The current language of the user interface.</p><table><tr><th>Property</th><th>Value</th></tr><tr><td>abstract</td><td>false <i>(default)</i></td></tr><tr><td>minOccurs</td><td>0</td></tr><tr><td>maxOccurs</td><td>1 <i>(default)</i></td></tr><tr><td>name</td><td>InterfaceLanguage</td></tr><tr><td>nillable</td><td>false <i>(default)</i></td></tr><tr><td>type</td><td>xsd:language</td></tr></table></li><li><p><a id="SystemInformationType_Location" name="SystemInformationType_Location">
					<b class="bterm">Element:
					Location</b></a></p><p>The country or region indicating the current location of the system.</p><table><tr><th>Property</th><th>Value</th></tr><tr><td>abstract</td><td>false <i>(default)</i></td></tr><tr><td>minOccurs</td><td>0</td></tr><tr><td>maxOccurs</td><td>1 <i>(default)</i></td></tr><tr><td>name</td><td>Location</td></tr><tr><td>nillable</td><td>false <i>(default)</i></td></tr><tr><td>type</td><td><a href="rsxsdTypes.htm" id="HV010845191033" lcid=" ">t:ISO3166Type</a></td></tr></table></li><li><p><a id="SystemInformationType_Any" name="SystemInformationType_Any"><b class="bterm">Any</b></a></p><p>Any element in another namespace.  Can be used for extensibility in the future.</p><table><tr><th>Property</th><th>Value</th></tr><tr><td>namespace</td><td>##other</td></tr><tr><td>processContents</td><td>skip</td></tr><tr><td>minOccurs</td><td>0</td></tr><tr><td>maxOccurs</td><td>unbounded</td></tr></table></li></ul></li></ul><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> 
     |