C# xml output from google search results
I need a 开发者_高级运维c# code to output xml results for google search results.
Please help!
"Code" will depend on the XML returned and what you need to extract from that data equally "output" is a very vague term so you can't get a specific answer to the question as asked.
In C# there are various tools that you might apply address elements of this problem:
- Linq to XML will allow you to translate the XML into objects.
- In terms of display, you can bind XML to display elements in web, forms and WPF
- In terms of changing the format of the data you could look at XSLT which is specifically intended for manipulating XML documents into different formats (e.g. html)
But above all of this you need to break the problem down into manageable stages and identify and implement solutions to each stage - and in terms of Stackoverflow (just being a good programmer!) I think one should be looking for tools, patterns, approaches and methods rather than "code".
It's not what you asked for, but you could use Bing APIs.
TTBOMK Google dont offer similar APIs, hence anything else would be a third-party quasi-sanctioned approach.
精彩评论