…
…
XML escape tool converts XML to string online by escaping special reserved characters. Additionally, it also unescapes string to reverse the transformation. Generally, escape characters replace existing characters with new & provided characters, which works best without throwing any error at runtime. Escapes characters of a UTF-8 encoded Unicode string using XML-style escape sequences. The utility escape plain XML to escaped html which helps to show html text in XML in <pre> tag.
When you have a XML string and need to work with it you will need to encode the string to allow parsing.
The following characters are reserved in XML and need to be correctly escaped for use in strings:
All other characters passes through unchanged. Generally, alphanumeric characters 'a' through 'z, '0' through '9' remain the same.
<?xml version="1.0" encoding="UTF-8"?> <food> <name>Homestyle Breakfast. Mom's cooking</name> <price>$6.95</price> <description>Two eggs, sausage, toast, and "hash browns"</description> </food>
<?xml version="1.0" encoding="UTF-8"?> <food> <name>Homestyle Breakfast. Mom's cooking</name> <price>$6.95</price> <description>Two eggs, sausage, toast, and "hash browns"</description> </food>
When you are stuck in a traffic jam with a Porsche, all you do is burn more gas in idle. Scalability is about building wider roads, not about building faster cars.
Steve Swartz
…
…