XML-Validierung
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Um sicherzustellen, dass Google Ihren Feed verarbeiten kann, verwenden Sie vor dem Einreichen des Feeds ein Validierungstool für XML-Schemas. Sie können Ihren Feed mit dem folgenden Befehl mit xmllint validieren:
xmllint --schema http://www.google.com/shopping/reviews/schema/product/2.4/product_reviews.xsd \
--noout file.xml
Alternativen
Es gibt verschiedene Tools, mit denen Sie die Struktur Ihrer XML-Dateien validieren können:
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: 2025-07-25 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-25 (UTC)."],[[["\u003cp\u003eGoogle Shopping requires XML data feeds to adhere to a specific XML schema for successful processing.\u003c/p\u003e\n"],["\u003cp\u003eUse the \u003ccode\u003exmllint\u003c/code\u003e command with the provided schema URL to validate your XML feed before submission.\u003c/p\u003e\n"],["\u003cp\u003eSeveral alternative tools for XML schema validation are available, including those listed from W3C, Altova, Oxygen, and libxml2.\u003c/p\u003e\n"]]],["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"],null,["# XML Validation\n\nTo ensure that Google can process your feed, use an XML schema validator\nbefore submitting your feed. You can use xmllint to validate your feed with\nthis command: \n\n xmllint --schema http://www.google.com/shopping/reviews/schema/product/2.4/product_reviews.xsd \\\n --noout file.xml\n\nAlternatives\n------------\n\nThere are a number of tools available to help you validate the structure of\nyour XML files:\n\n- [W3C list of XML schema tools](http://www.w3.org/XML/Schema#Tools)\n- [Altova XMLSpy XML Editor](http://www.altova.com/xmlspy.html)\n- [oXygen XML Editor](http://www.oxygenxml.com/)\n- [xmllint](http://xmlsoft.org/xmllint.html) from [libxml2](http://www.xmlsoft.org/)"]]