Where to get the Google Search XSD
we are developing an Google search component for our website. We are getting the result from Google in the form of XML.
Where Can I find the XSD for Google sea开发者_高级运维rch results?
Looking at the google xml reference, there is a section about the DTD and its location:
The DTD is available on the Google Search Appliance at
http://<appliance_hostname>/google.dtd
.
So, it appears that Google use DTDs and not XSDs.
Is this what you're after?
http://www.google.com/cse/docs/resultsxml.html#XML_Results_for_Regular_and_Advanced_Search_Queries
You can use Trang to convert a DTD into a XML Schema (XSD). I just created this XSD for Google's DTD this way. It's a valid XML Schema, but will probably need manual editing in order to be useful.
精彩评论