XML-Validierung
Um sicherzustellen, dass Google Ihren Feed verarbeiten kann, verwenden Sie vor Einreichen des Feeds ein Validierungstool für XML-Schemata. Es gibt eine Reihe von Tools, mit denen Sie die Struktur Ihrer XML-Dateien validieren können:
Mit dem folgenden Befehl können Sie xmllint verwenden, um Ihren Feed zu validieren:
xmllint --schema http://www.google.com/shopping/reviews/schema/product/2.3/product_reviews.xsd \
--noout file.xml
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2020-06-11 (UTC).
[null,null,["Zuletzt aktualisiert: 2020-06-11 (UTC)."],[[["Google Shopping requires XML data feeds to adhere to a specific XML schema for successful processing."],["Use the `xmllint` command with the provided schema URL to validate your XML feed before submission."],["Several alternative tools for XML schema validation are available, including those listed from W3C, Altova, Oxygen, and libxml2."]]],["Validate XML feeds before submitting to Google using an XML schema validator. The `xmllint` command with the Google schema URL verifies the feed structure: `xmllint --schema http://www.google.com/shopping/reviews/schema/product/2.3/product_reviews.xsd --noout file.xml`. Alternative tools for XML validation include resources from W3C, Altova XMLSpy, oXygen XML Editor, and `xmllint` from `libxml2`. These tools help check the structure and validity of the XML files.\n"]]