أمثلة
Compact an RSS item with an ampersand entity
المدخلات
<item>
<title>Fish & chips</title>
<link>https://example.org/menu</link>
</item>Expected answer
<item><title>Fish & chips</title><link>https://example.org/menu</link></item>- الاحتفاظ بالتعليقات
Off
Keep a license comment in a small SVG asset
المدخلات
<!-- Artwork: CC0 -->
<svg xmlns="http://www.w3.org/2000/svg">
<path d="M0 0 L10 10"/>
</svg>Expected answer
<!-- Artwork: CC0 --><svg xmlns="http://www.w3.org/2000/svg"><path d="M0 0 L10 10"/></svg>- الاحتفاظ بالتعليقات
On
Remove an editing note from a book catalogue
المدخلات
<catalog>
<!-- staging note -->
<book id="alice"><title>Alice in Wonderland</title><year>1865</year></book>
</catalog>Expected answer
<catalog><book id="alice"><title>Alice in Wonderland</title><year>1865</year></book></catalog>- الاحتفاظ بالتعليقات
Off
Keep an XML declaration and namespaced metadata
المدخلات
<?xml version="1.0" encoding="UTF-8"?>
<dc:title xmlns:dc="http://purl.org/dc/elements/1.1/">The Starry Night</dc:title>Expected answer
<?xml version="1.0" encoding="UTF-8"?><dc:title xmlns:dc="http://purl.org/dc/elements/1.1/">The Starry Night</dc:title>- الاحتفاظ بالتعليقات
Off
Compact a two-point GPX route
المدخلات
<gpx version="1.1" creator="Example" xmlns="http://www.topografix.com/GPX/1/1">
<rte>
<rtept lat="51.5" lon="-0.1"/>
<rtept lat="51.501" lon="-0.101"/>
</rte>
</gpx>Expected answer
<gpx version="1.1" creator="Example" xmlns="http://www.topografix.com/GPX/1/1"><rte><rtept lat="51.5" lon="-0.1"/><rtept lat="51.501" lon="-0.101"/></rte></gpx>- الاحتفاظ بالتعليقات
Off
المعاملات
| المعامل | القيمة الافتراضية | المدخلات والخيارات |
|---|---|---|
| الاحتفاظ بالتعليقات | false | تشغيل أو إيقاف |