Encode Content for XML
Encode special characters for XML files, RSS feeds, sitemaps, and SOAP payloads.
Common HTML entities reference
XML tips
XML requires &, <, >, ", and ' to be encoded as entities inside element content. Unencoded characters cause XML parsers to fail.
RSS and Atom feed content must be HTML-entity-encoded. Article titles with ampersands (&) or quotes must use & and ".
Sitemap URLs containing & (e.g. tracking parameters) must encode & as &. Most sitemap validators will flag unencoded ampersands.
SOAP/XML web service payloads require strict encoding. Use this tool to verify your data before sending to an XML-based API.
工作原理
为什么选择我们的?
Also check out…
Encode Content for RSS Feeds
Encode HTML content for RSS feed item descriptions
Sanitise User Input for HTML Output
Encode user-provided strings before inserting them
Encode Special Characters for HTML Email
Encode characters like &, <, >, and © as HTML enti
Encode User Content for Web Display
Prevent XSS attacks by encoding user-generated con
