تدقيق XML
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
لضمان أن تتمكّن Google من معالجة خلاصتك، يُرجى استخدام مدقّق مخطّط XML قبل إرسال الخلاصة. يمكنك استخدام xmllint للتحقّق من صحة خلاصتك باستخدام الأمر التالي:
xmllint --schema http://www.google.com/shopping/reviews/schema/product/2.4/product_reviews.xsd \
--noout file.xml
الحلول البديلة
تتوفّر عدة أدوات لمساعدتك في التحقّق من صحة بنية ملفات XML:
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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/)"]]