XML Implementation for Spell SourceType
Bing
This topic contains the following details of a Spell SourceType query sent to the XML interface:
-
Request Example
-
Response Example
For an example of code that might generate the request in this topic, see XML Code Samples (Spell SourceType).
This section contains an example of a response that Bing might return when sent the query string in the previous section:
<?xml version="1.0" encoding="utf-8" ?>
<?pageview_candidate?>
<SearchResponse xmlns="http://schemas.microsoft.com/LiveSearch/2008/04/XML/element" Version="2.0">
<Query>
<SearchTerms>Mispeling words is a common ocurrence.</SearchTerms>
</Query>
<spl:Spell xmlns:spl="http://schemas.microsoft.com/LiveSearch/2008/04/XML/spell">
<spl:Total>1</spl:Total>
<spl:Results>
<spl:SpellResult>
<spl:Value>?Misspelling? words is a common ?occurrence?.</spl:Value>
</spl:SpellResult>
</spl:Results>
</spl:Spell>
</SearchResponse>
Show: