{"id":4,"date":"2005-09-10T12:48:17","date_gmt":"2005-09-10T17:48:17","guid":{"rendered":"http:\/\/www.juixe.com\/techknow\/?p=4"},"modified":"2005-09-10T12:48:17","modified_gmt":"2005-09-10T17:48:17","slug":"escape-from-xml","status":"publish","type":"post","link":"http:\/\/juixe.com\/techknow\/index.php\/2005\/09\/10\/escape-from-xml\/","title":{"rendered":"Escape From XML"},"content":{"rendered":"<p>If you want to use a greater than sign (&gt;) in an XML document you need to escape it.  I once had to meticulously look over a 120 MB xml file that was generating a parsing exception, the cause of the exception, a greater than sign.  Escape the following characters they are intended as xml\/html content.<\/p>\n<pre>\n&#60;\t&amp;#60;\n&#62; \t&amp;#62;\n&#38; \t&amp;#38;\n<\/pre>\n<p>Let me also mention some common characters that I escape when working with HTML.<\/p>\n<pre>\n&amp;#169;     &amp;copy;     Copyright\n&amp;#160;     &amp;nbsp;     Space\n&amp;#60;      &amp;lt;       &lt;\n&amp;#62;      &amp;gt;       &gt;\n&amp;#38;      &amp;amp;      &amp;\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>If you want to use a greater than sign (&gt;) in an XML document you need to escape it. I once had to meticulously look over a 120 MB xml file that was generating a parsing exception, the cause of the exception, a greater than sign. Escape the following characters they are intended as xml\/html [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","footnotes":""},"categories":[13,3],"tags":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p902K-4","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts\/4"}],"collection":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/comments?post=4"}],"version-history":[{"count":0,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts\/4\/revisions"}],"wp:attachment":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/media?parent=4"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/categories?post=4"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/tags?post=4"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}