1104

What characters must be escaped in XML documents, or where could I find such a list?

animuson
  • 53,861
  • 28
  • 137
  • 147
Julius A
  • 38,062
  • 26
  • 74
  • 96
  • 10
    Example: `AT&T` – jacktrades Dec 05 '12 at 19:47
  • 1
    See [**Simplified XML Escaping**](https://stackoverflow.com/a/46637835/290085) below for a concise and easily remembered guide that I've distilled from primary sources ([*W3C Extensible Markup Language (XML) 1.0 (Fifth Edition)*](https://www.w3.org/TR/xml/#syntax)). – kjhughes Feb 14 '18 at 16:40
  • 1
    Literally none of the answers here are correct. You also must escape many various control characters in XML 1.1. – Jason C May 04 '21 at 18:27
  • 1
    @JasonC: Understanding the question as intended rather than literally is ideal. If you feel future readers would benefit from an elaboration of how to specify control characters in XML, please elaborate in an answer. Thanks. – kjhughes Dec 03 '21 at 16:52
  • @kjhughes With the question being interpreted as intended, literally none of the answers here are correct. You also must escape many various control characters in XML 1.1, as outlined [here](https://www.w3.org/International/questions/qa-controls). See also XML 1.1 [§4.1](https://www.w3.org/TR/2006/REC-xml11-20060816/#sec-references), [§4.4](https://www.w3.org/TR/2006/REC-xml11-20060816/#entproc), [§4.6](https://www.w3.org/TR/2006/REC-xml11-20060816/#sec-predefined-ent), and [Appx. C](https://www.w3.org/TR/2006/REC-xml11-20060816/#sec-entexpand) for specific details and restrictions. – Jason C Dec 03 '21 at 20:26
  • @JasonC: I've updated [Simplified XML Escaping](https://stackoverflow.com/a/46637835/290085) below to address your point. Let me know if you have further recommendations. Thanks. – kjhughes Dec 04 '21 at 01:18

10 Answers10

1602

If you use an appropriate class or library, they will do the escaping for you. Many XML issues are caused by string concatenation.

XML escape characters

There are only five:

"   "
'   '
<   &lt;
>   &gt;
&   &amp;

Escaping characters depends on where the special character is used.

The examples can be validated at the W3C Markup Validation Service.

Text

The safe way is to escape all five characters in text. However, the three characters ", ' and > needn't be escaped in text:

<?xml version="1.0"?>
<valid>"'></valid>

Attributes

The safe way is to escape all five characters in attributes. However, the > character needn't be escaped in attributes:

<?xml version="1.0"?>
<valid attribute=">"/>

The ' character needn't be escaped in attributes if the quotes are ":

<?xml version="1.0"?>
<valid attribute="'"/>

Likewise, the " needn't be escaped in attributes if the quotes are ':

<?xml version="1.0"?>
<valid attribute='"'/>

Comments

All five special characters must not be escaped in comments:

<?xml version="1.0"?>
<valid>
<!-- "'<>& -->
</valid>

CDATA

All five special characters must not be escaped in CDATA sections:

<?xml version="1.0"?>
<valid>
<![CDATA["'<>&]]>
</valid>

Processing instructions

All five special characters must not be escaped in XML processing instructions:

<?xml version="1.0"?>
<?process <"'&> ?>
<valid/>

XML vs. HTML

HTML has its own set of escape codes which cover a lot more characters.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Welbog
  • 59,154
  • 9
  • 110
  • 123
  • But as for HTML, we would only have to escape the five above too right? – Pacerier Jan 12 '12 at 21:51
  • 42
    @Pacerier, I beg you not to write your own XML/HTML escaping code. Use a library function or you're bound to miss a special case. – Jason Mar 16 '12 at 09:23
  • 8
    Also for line breaks you need to use and for tab, if you need these characters in an attribute. – radistao Nov 26 '12 at 22:33
  • Carriage Return ` ` is only included for backward-compatibility as noted in the section that precedes the one linked to by MicSim. Avoid using it as it is ether removed or replaced by ` `. – seininn May 17 '13 at 18:44
  • 91
    If you're going to do a Find/Replace on these, just remember to do the & replacement before the others. – Doug Jun 15 '13 at 21:29
  • 2
    @Doug I was just about to mention the exact same thing - or else all other replaced characters will be corrupted, and things like `"` will be changed to `&quot;` – Jerry Dodge Aug 05 '13 at 22:23
  • 1
    Notice, that in HTML you actually just have to escape `<` and `&`. While the other three are also defined, there is actually no need to escape them within valid XML – dirkk Apr 29 '14 at 14:34
  • 11
    From Wikipedia: "All permitted Unicode characters may be represented with a numeric character reference." So there are a lot more than 5. – Tim Cooper Aug 15 '14 at 07:47
  • @dirkk I found the same to be true in my testing. I escaped all 5 originally to be safe, even though the ampersand alone was the original target for the bug. Upon further testing I was finding that the apostrophe for example was making it through to the application with no problems at all. – Brien Foss Mar 09 '16 at 18:08
  • 1
    You *can* escape any characters you want -- even *every* character. Only less-than, ampersand, and the sequence "]]>" actually matter if you're trying to turn an arbitrary string into XML content (that is, you don't want any tags or other XML constructs to be detected within it). "]]>" is uncommon, so some people ignore it; or you can change the ">" in it to > or > or > – TextGeek Jul 24 '19 at 14:40
  • Non-printable characters seem to be not legal in an XML file, too. – khiav reoy Apr 29 '21 at 05:55
  • @Jason I looked up source code of "xml-escape" lib for js. It has 22 lines of code and covers exactly 5 chars. Seems trivial enough. But that's just the actual XML. HTML is different animal altogether. – Gherman Jul 19 '22 at 00:35
98

Perhaps this will help:

List of XML and HTML character entity references:

In SGML, HTML and XML documents, the logical constructs known as character data and attribute values consist of sequences of characters, in which each character can manifest directly (representing itself), or can be represented by a series of characters called a character reference, of which there are two types: a numeric character reference and a character entity reference. This article lists the character entity references that are valid in HTML and XML documents.

That article lists the following five predefined XML entities:

quot  "
amp   &
apos  '
lt    <
gt    >
Ry-
  • 218,210
  • 55
  • 464
  • 476
Andrew Hare
  • 344,730
  • 71
  • 640
  • 635
88

New, simplified answer to an old, commonly asked question...

Simplified XML Escaping (prioritized, 100% complete)

  1. Always (90% important to remember)

    • Escape < as &lt; unless < is starting a <tag/> or other markup.
    • Escape & as &amp; unless & is starting an &entity;.
  2. Attribute Values (9% important to remember)

    • attr=" 'Single quotes' are ok within double quotes."
    • attr=' "Double quotes" are ok within single quotes.'
    • Escape " as &quot; and ' as &apos; otherwise.
  3. Comments, CDATA, and Processing Instructions (0.9% important to remember)

    • <!-- Within comments --> nothing has to be escaped but no -- strings are allowed.
    • <![CDATA[ Within CDATA ]]> nothing has to be escaped, but no ]]> strings are allowed.
    • <?PITarget Within PIs ?> nothing has to be escaped, but no ?> strings are allowed.
  4. Esoterica (0.1% important to remember)

kjhughes
  • 106,133
  • 27
  • 181
  • 240
  • 2
    One other rule worth noting: `]]>` must be escaped as `]]>`, even when not in a CDATA section. The easiest way of achieving that may be to *always* escape `>` as `>`. – Michael Kay May 29 '18 at 15:24
  • Thanks, @MichaelKay. I've incorporated your helpful note about `]]>` but chose to relegate it to esoterica rather than suggesting that `>` *always* be escaped (which it needn't be, as you know). My goal here to make the XML escaping rules ***easily remembered*** *and* ***100% accurate***. – kjhughes Jun 03 '18 at 14:01
  • The above answers including accepted one mention all five characters should be escaped inside attributes. Do you have any reference to XML standard to back what you are saying as your answer logically seems to be the correct one? – Roman Susi Feb 07 '20 at 05:49
  • 3
    @RomanSusi: Yes, many other answers contain errors or overgeneralizations ("The safe way...") based on hearsay, misinterpretation, or misunderstanding of the official XML BNF. My answer is (a) 100% justified by W3C XML Recommendation; see the many linked references to the official BNF, and (b) organized in a concise, logical, and easily remembered progression of those requirements. – kjhughes Feb 07 '20 at 13:44
  • @RomanSusi: The specific statement that "all five characters should be escaped inside attributes" is sloppy guidance unsupported by the official BNF rule for `AttValue` cited in my answer via a link on **2.** [**Attribute Values**](https://www.w3.org/TR/xml/#NT-AttValue). – kjhughes Feb 07 '20 at 13:44
  • Ah ok... I was actually looking whether & needs to be escaped, so missed Always part, thanks! – Roman Susi Feb 07 '20 at 14:21
  • 1
    I think I should change my future first child name from Felipe to ";'Felipe]]> </plaintext></span> –&nbsp;<a href="../../users/5731861/felipe-valdes" title="1,998 reputation" class="comment-user ">Felipe Valdes</a> <span class="comment-date" dir="ltr"><a class="comment-link" href="../../questions/1091945/what-characters-do-i-need-to-escape-in-xml-documents#comment114724799_46637835"><span title="2020-11-18T08:29:57.073 License: CC BY-SA 4.0" class="relativetime-clean">Nov 18 '20 at 08:29</span></a></span> </div> </div> </li> <li id="comment-114724821" class="comment js-comment " data-comment-id="114724821" data-comment-owner-id="5731861" data-comment-score="0"> <div class="js-comment-actions comment-actions"> <div class="comment-score js-comment-edit-hide"> </div> </div> <div class="comment-text js-comment-text-and-form"> <a name="comment114724821_46637835"></a> <div class="comment-body js-comment-edit-hide"> <span class="comment-copy">and in the event of second child, maybe her name can be just \0</span> –&nbsp;<a href="../../users/5731861/felipe-valdes" title="1,998 reputation" class="comment-user ">Felipe Valdes</a> <span class="comment-date" dir="ltr"><a class="comment-link" href="../../questions/1091945/what-characters-do-i-need-to-escape-in-xml-documents#comment114724821_46637835"><span title="2020-11-18T08:30:50.807 License: CC BY-SA 4.0" class="relativetime-clean">Nov 18 '20 at 08:30</span></a></span> </div> </div> </li> <li id="comment-114734924" class="comment js-comment " data-comment-id="114734924" data-comment-owner-id="290085" data-comment-score="0"> <div class="js-comment-actions comment-actions"> <div class="comment-score js-comment-edit-hide"> </div> </div> <div class="comment-text js-comment-text-and-form"> <a name="comment114734924_46637835"></a> <div class="comment-body js-comment-edit-hide"> <span class="comment-copy">@FelipeValdes: Conformant XML parsers will reject documents as not well-formed when they contain `]]&gt;` anywhere other than ending a CDATA section or the null char anywhere in a document. What browsers will do over time and the impact on your childrens' development are less clear.</span> –&nbsp;<a href="../../users/290085/kjhughes" title="106,133 reputation" class="comment-user ">kjhughes</a> <span class="comment-date" dir="ltr"><a class="comment-link" href="../../questions/1091945/what-characters-do-i-need-to-escape-in-xml-documents#comment114734924_46637835"><span title="2020-11-18T14:41:33.993 License: CC BY-SA 4.0" class="relativetime-clean">Nov 18 '20 at 14:41</span></a></span> </div> </div> </li> </ul> </div> </div> </div> </div> <a name="17448222"></a> <div id="answer-17448222" class="answer " data-answerid="17448222" data-ownerid="1709835" data-score="83" itemprop="suggestedAnswer" itemscope="" itemtype="https://schema.org/Answer"> <div class="post-layout"> <div class="votecell post-layout--left"> <div class="js-voting-container grid jc-center fd-column ai-stretch gs4 fc-black-200" data-post-id="17448222"> <button class="js-vote-up-btn grid--cell s-btn s-btn__unset c-pointer"><svg aria-hidden="true" class="m0 svg-icon iconArrowUpLg" width="36" height="36" viewBox="0 0 36 36"><path d="M2 26h32L18 10 2 26z"></path></svg></button> <div class="js-vote-count grid--cell fc-black-500 fs-title grid fd-column ai-center" itemprop="upvoteCount" data-value="83">83</div> </div> </div> <div class="postcell post-layout--right"> <div class="s-prose js-post-body" itemprop="text"><p>According to the specifications of the World Wide Web Consortium (w3C), <a class="external-link" href="http://www.w3.org/TR/xml11/#sec-predefined-ent" rel="noreferrer">there are 5 characters that must not appear in their literal form in an XML document</a>, except when used as markup delimiters or within a comment, a processing instruction, or a CDATA section. In all the other cases, these characters must be replaced either using the corresponding entity or the numeric reference according to the following table:</p> <p><kbd><strong>Original Character</strong></kbd><kbd><strong>XML entity replacement</strong></kbd><kbd><strong>XML numeric replacement</strong></kbd><br/> <kbd>&lt;                              </kbd><kbd>&amp;lt;                                    </kbd><kbd>&amp;#60;                                    </kbd><br/> <kbd>&gt;                              </kbd><kbd>&amp;gt;                                   </kbd><kbd>&amp;#62;                                    </kbd><br/> <kbd>"                               </kbd><kbd>&amp;quot;                               </kbd><kbd>&amp;#34;                                    </kbd><br/> <kbd>&amp;                              </kbd><kbd>&amp;amp;                               </kbd><kbd>&amp;#38;                                    </kbd><br/> <kbd>'                               </kbd><kbd>&amp;apos;                               </kbd><kbd>&amp;#39;                                    </kbd><br/></p> <p>Notice that the aforementioned entities can be used also in HTML, with the exception of <strong>&amp;apos;</strong>, that was introduced with XHTML 1.0 and is not declared in HTML 4. For this reason, and to ensure retro-compatibility, <a class="external-link" href="http://www.w3.org/TR/2002/REC-xhtml1-20020801/#C_16" rel="noreferrer">the XHTML specification recommends the use of &amp;#39;</a> instead.</p></div> <div class="mb0"> <div class="mt16 grid gs8 gsy fw-wrap jc-end ai-start pt4 mb16"> <div class="grid--cell mr16 fl1 w96"></div> <div class="post-signature grid--cell"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="answered Jul 03 '13 at 12:38">answered Jul 03 '13 at 12:38</time> <a href="../../users/1709835/albz" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1709835.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Albz" /> </a> <div class="s-user-card--info"> <a href="../../users/1709835/albz" class="s-user-card--link">Albz</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1,982</li> <li class="s-award-bling s-award-bling__gold" title="2 gold badges">2</li> <li class="s-award-bling s-award-bling__silver" title="21 silver badges">21</li> <li class="s-award-bling s-award-bling__bronze" title="33 bronze badges">33</li> </ul> </div> </div> </div> </div> </div> </div> <div class="post-layout--right js-post-comments-component"> <div id="comments-17448222" class="comments js-comments-container bt bc-black-075 mt12 " data-post-id="17448222" data-min-length="15"> <ul class="comments-list js-comments-list" data-remaining-comments-count="0" data-canpost="false" data-cansee="true" data-comments-unavailable="false" data-addlink-disabled="true"> <li id="comment-27058884" class="comment js-comment " data-comment-id="27058884" data-comment-owner-id="2547804" data-comment-score="18"> <div class="js-comment-actions comment-actions"> <div class="comment-score js-comment-edit-hide"> <span title="number of 'useful comment' votes received" class="warm">18</span> </div> </div> <div class="comment-text js-comment-text-and-form"> <a name="comment27058884_17448222"></a> <div class="comment-body js-comment-edit-hide"> <span class="comment-copy">XML predefines those five entities, but it absolutely does NOT specify that you can't use any of those five characters in their literal form. &lt; and &amp; have to be escaped everywhere (except CDATA). " and ' only have to be escaped in attribute values, and only if the corresponding quote character is the same. And &gt; never actually has to be escaped.</span> –&nbsp;<a href="../../users/2547804/shaun-mccance" title="474 reputation" class="comment-user ">Shaun McCance</a> <span class="comment-date" dir="ltr"><a class="comment-link" href="../../questions/1091945/what-characters-do-i-need-to-escape-in-xml-documents#comment27058884_17448222"><span title="2013-08-24T13:58:01.767 License: CC BY-SA 3.0" class="relativetime-clean">Aug 24 '13 at 13:58</span></a></span> </div> </div> </li> <li id="comment-28256392" class="comment js-comment " data-comment-id="28256392" data-comment-owner-id="1709835" data-comment-score="3"> <div class="js-comment-actions comment-actions"> <div class="comment-score js-comment-edit-hide"> <span title="number of 'useful comment' votes received" class="warm">3</span> </div> </div> <div class="comment-text js-comment-text-and-form"> <a name="comment28256392_17448222"></a> <div class="comment-body js-comment-edit-hide"> <span class="comment-copy">As written above, &lt; &gt; " &amp; ' do not have to be escaped when used as markup delimiters or within a comment, a processing instruction, or a CDATA section. i.e. when you use &lt; &gt; as an XML tag you don't escape it. Same thing for a comment (would you escape an &amp; in a commented line of a XML file? You don't need to, and your XML is still valid if you don't). This is clearly specified in the [official recommendations for XML by W3C](http://www.w3.org/TR/xml11/#dt-chardata).</span> –&nbsp;<a href="../../users/1709835/albz" title="1,982 reputation" class="comment-user ">Albz</a> <span class="comment-date" dir="ltr"><a class="comment-link" href="../../questions/1091945/what-characters-do-i-need-to-escape-in-xml-documents#comment28256392_17448222"><span title="2013-10-01T07:21:37.107 License: CC BY-SA 3.0" class="relativetime-clean">Oct 01 '13 at 07:21</span></a></span> </div> </div> </li> <li id="comment-35667919" class="comment js-comment " data-comment-id="35667919" data-comment-owner-id="768820" data-comment-score="7"> <div class="js-comment-actions comment-actions"> <div class="comment-score js-comment-edit-hide"> <span title="number of 'useful comment' votes received" class="warm">7</span> </div> </div> <div class="comment-text js-comment-text-and-form"> <a name="comment35667919_17448222"></a> <div class="comment-body js-comment-edit-hide"> <span class="comment-copy">@ShaunMcCance `&gt;` must be escaped if it follows `]]` within content, unless it's intended to be part of the `]]&gt;` delimiter that indicates the end of a CDATA section.</span> –&nbsp;<a href="../../users/768820/lee-d" title="116 reputation" class="comment-user ">Lee D</a> <span class="comment-date" dir="ltr"><a class="comment-link" href="../../questions/1091945/what-characters-do-i-need-to-escape-in-xml-documents#comment35667919_17448222"><span title="2014-04-25T17:45:52.580 License: CC BY-SA 3.0" class="relativetime-clean">Apr 25 '14 at 17:45</span></a></span> </div> </div> </li> <li id="comment-61574184" class="comment js-comment " data-comment-id="61574184" data-comment-owner-id="1236579" data-comment-score="3"> <div class="js-comment-actions comment-actions"> <div class="comment-score js-comment-edit-hide"> <span title="number of 'useful comment' votes received" class="warm">3</span> </div> </div> <div class="comment-text js-comment-text-and-form"> <a name="comment61574184_17448222"></a> <div class="comment-body js-comment-edit-hide"> <span class="comment-copy">Not to be a necromancer, but @Albz is incorrect in saying that these characters MUST be entitized in content. See section 2.4 at https://www.w3.org/TR/REC-xml/#NT-CharData. The TL;DR version of that is that in chardata element content, &amp; and &lt; have to always be entitized. The &gt; character MAY be entitized, although it MUST be when appearing in the literal string “]]&gt;” because otherwise that will be read as ending a CDATA section. For single-quote and double-quote, you can escape if you want to. That's it, for chardata inside elements. Other components of XML have other rules.</span> –&nbsp;<a href="../../users/1236579/chris" title="588 reputation" class="comment-user ">chris</a> <span class="comment-date" dir="ltr"><a class="comment-link" href="../../questions/1091945/what-characters-do-i-need-to-escape-in-xml-documents#comment61574184_17448222"><span title="2016-05-03T17:52:51.333 License: CC BY-SA 3.0" class="relativetime-clean">May 03 '16 at 17:52</span></a></span> </div> </div> </li> </ul> </div> </div> </div> </div> <a name="21574020"></a> <div id="answer-21574020" class="answer " data-answerid="21574020" data-ownerid="1882000" data-score="54" itemprop="suggestedAnswer" itemscope="" itemtype="https://schema.org/Answer"> <div class="post-layout"> <div class="votecell post-layout--left"> <div class="js-voting-container grid jc-center fd-column ai-stretch gs4 fc-black-200" data-post-id="21574020"> <button class="js-vote-up-btn grid--cell s-btn s-btn__unset c-pointer"><svg aria-hidden="true" class="m0 svg-icon iconArrowUpLg" width="36" height="36" viewBox="0 0 36 36"><path d="M2 26h32L18 10 2 26z"></path></svg></button> <div class="js-vote-count grid--cell fc-black-500 fs-title grid fd-column ai-center" itemprop="upvoteCount" data-value="54">54</div> </div> </div> <div class="postcell post-layout--right"> <div class="s-prose js-post-body" itemprop="text"><p>Escaping characters is different for tags and attributes. </p> <p>For tags:</p> <pre><code> &lt; &amp;lt; &gt; &amp;gt; (only for compatibility, read below) &amp; &amp;amp; </code></pre> <p>For attributes:</p> <pre><code>" &amp;quot; ' &amp;apos; </code></pre> <p>From <em><a class="external-link" href="http://www.w3.org/TR/2008/REC-xml-20081126/#syntax" rel="noreferrer">Character Data and Markup</a></em>:</p> <blockquote> <p>The ampersand character (&amp;) and the left angle bracket (&lt;) must not appear in their literal form, except when used as markup delimiters, or within a comment, a processing instruction, or a CDATA section. If they are needed elsewhere, they must be escaped using either numeric character references or the strings " &amp;amp; " and " &amp;lt; " respectively. The right angle bracket (&gt;) may be represented using the string " &amp;gt; ", and must, for compatibility, be escaped using either " &amp;gt; " or a character reference when it appears in the string " ]]&gt; " in content, when that string is not marking the end of a CDATA section.</p> <p>To allow attribute values to contain both single and double quotes, the apostrophe or single-quote character (') may be represented as " &amp;apos; ", and the double-quote character (") as " &amp;quot; ".</p> </blockquote></div> <div class="mb0"> <div class="mt16 grid gs8 gsy fw-wrap jc-end ai-start pt4 mb16"> <div class="grid--cell mr16 fl1 w96"></div> <div class="post-signature grid--cell"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="edited Dec 17 '19 at 19:07">edited Dec 17 '19 at 19:07</time> <a href="../../users/63550/peter-mortensen" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/63550.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Peter Mortensen" /> </a> <div class="s-user-card--info"> <a href="../../users/63550/peter-mortensen" class="s-user-card--link">Peter Mortensen</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">30,738</li> <li class="s-award-bling s-award-bling__gold" title="21 gold badges">21</li> <li class="s-award-bling s-award-bling__silver" title="105 silver badges">105</li> <li class="s-award-bling s-award-bling__bronze" title="131 bronze badges">131</li> </ul> </div> </div> </div> <div class="post-signature grid--cell"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="answered Feb 05 '14 at 10:03">answered Feb 05 '14 at 10:03</time> <a href="../../users/1882000/peter-bartels" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1882000.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Peter Bartels" /> </a> <div class="s-user-card--info"> <a href="../../users/1882000/peter-bartels" class="s-user-card--link">Peter Bartels</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1,474</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="12 silver badge">12</li> <li class="s-award-bling s-award-bling__bronze" title="20 bronze badge">20</li> </ul> </div> </div> </div> </div> </div> </div> <div class="post-layout--right js-post-comments-component"> <div id="comments-21574020" class="comments js-comments-container bt bc-black-075 mt12 " data-post-id="21574020" data-min-length="15"> <ul class="comments-list js-comments-list" data-remaining-comments-count="0" data-canpost="false" data-cansee="true" data-comments-unavailable="false" data-addlink-disabled="true"> <li id="comment-89348887" class="comment js-comment " data-comment-id="89348887" data-comment-owner-id="94078" data-comment-score="1"> <div class="js-comment-actions comment-actions"> <div class="comment-score js-comment-edit-hide"> <span title="number of 'useful comment' votes received" class="warm">1</span> </div> </div> <div class="comment-text js-comment-text-and-form"> <a name="comment89348887_21574020"></a> <div class="comment-body js-comment-edit-hide"> <span class="comment-copy">This implies that for attributes only quotes need to be escaped, but that is in addition to the other three characters</span> –&nbsp;<a href="../../users/94078/eug" title="1,118 reputation" class="comment-user ">eug</a> <span class="comment-date" dir="ltr"><a class="comment-link" href="../../questions/1091945/what-characters-do-i-need-to-escape-in-xml-documents#comment89348887_21574020"><span title="2018-07-05T04:46:10.380 License: CC BY-SA 4.0" class="relativetime-clean">Jul 05 '18 at 04:46</span></a></span> </div> </div> </li> </ul> </div> </div> </div> </div> <a name="10316889"></a> <div id="answer-10316889" class="answer " data-answerid="10316889" data-ownerid="1356342" data-score="29" itemprop="suggestedAnswer" itemscope="" itemtype="https://schema.org/Answer"> <div class="post-layout"> <div class="votecell post-layout--left"> <div class="js-voting-container grid jc-center fd-column ai-stretch gs4 fc-black-200" data-post-id="10316889"> <button class="js-vote-up-btn grid--cell s-btn s-btn__unset c-pointer"><svg aria-hidden="true" class="m0 svg-icon iconArrowUpLg" width="36" height="36" viewBox="0 0 36 36"><path d="M2 26h32L18 10 2 26z"></path></svg></button> <div class="js-vote-count grid--cell fc-black-500 fs-title grid fd-column ai-center" itemprop="upvoteCount" data-value="29">29</div> </div> </div> <div class="postcell post-layout--right"> <div class="s-prose js-post-body" itemprop="text"><p>In addition to the commonly known five characters [&lt;, &gt;, &amp;, ", and '], I would also escape the vertical tab character (0x0B). It is valid UTF-8, but not valid XML 1.0, and even many libraries (including the highly portable (ANSI C) library <a class="external-link" href="https://en.wikipedia.org/wiki/Libxml2" rel="noreferrer">libxml2</a>) miss it and silently output invalid XML.</p></div> <div class="mb0"> <div class="mt16 grid gs8 gsy fw-wrap jc-end ai-start pt4 mb16"> <div class="grid--cell mr16 fl1 w96"></div> <div class="post-signature grid--cell"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="edited Jan 26 '20 at 13:54">edited Jan 26 '20 at 13:54</time> <a href="../../users/63550/peter-mortensen" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/63550.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Peter Mortensen" /> </a> <div class="s-user-card--info"> <a href="../../users/63550/peter-mortensen" class="s-user-card--link">Peter Mortensen</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">30,738</li> <li class="s-award-bling s-award-bling__gold" title="21 gold badges">21</li> <li class="s-award-bling s-award-bling__silver" title="105 silver badges">105</li> <li class="s-award-bling s-award-bling__bronze" title="131 bronze badges">131</li> </ul> </div> </div> </div> <div class="post-signature grid--cell"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="answered Apr 25 '12 at 13:38">answered Apr 25 '12 at 13:38</time> <a href="../../users/1356342/charon-me" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1356342.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Charon ME" /> </a> <div class="s-user-card--info"> <a href="../../users/1356342/charon-me" class="s-user-card--link">Charon ME</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">698</li> <li class="s-award-bling s-award-bling__silver" title="10 silver badges">10</li> <li class="s-award-bling s-award-bling__bronze" title="22 bronze badges">22</li> </ul> </div> </div> </div> </div> </div> </div> <div class="post-layout--right js-post-comments-component"> </div> </div> </div> <a name="25322979"></a> <div id="answer-25322979" class="answer " data-answerid="25322979" data-ownerid="10592" data-score="14" itemprop="suggestedAnswer" itemscope="" itemtype="https://schema.org/Answer"> <div class="post-layout"> <div class="votecell post-layout--left"> <div class="js-voting-container grid jc-center fd-column ai-stretch gs4 fc-black-200" data-post-id="25322979"> <button class="js-vote-up-btn grid--cell s-btn s-btn__unset c-pointer"><svg aria-hidden="true" class="m0 svg-icon iconArrowUpLg" width="36" height="36" viewBox="0 0 36 36"><path d="M2 26h32L18 10 2 26z"></path></svg></button> <div class="js-vote-count grid--cell fc-black-500 fs-title grid fd-column ai-center" itemprop="upvoteCount" data-value="14">14</div> </div> </div> <div class="postcell post-layout--right"> <div class="s-prose js-post-body" itemprop="text"><p>Abridged from: <em><a class="external-link" href="http://en.wikipedia.org/wiki/XML#Escaping" rel="noreferrer">XML, Escaping</a></em></p> <p>There are five predefined entities:</p> <pre><code>&amp;lt; represents "&lt;" &amp;gt; represents "&gt;" &amp;amp; represents "&amp;" &amp;apos; represents ' &amp;quot; represents " </code></pre> <p><em>"All permitted Unicode characters may be represented with a numeric character reference."</em> For example:</p> <pre><code>&amp;#20013; </code></pre> <p>Most of the control characters and other Unicode ranges are specifically excluded, meaning (I think) they can't occur either escaped or direct:</p> <p><em><a class="external-link" href="http://en.wikipedia.org/wiki/Valid_characters_in_XML" rel="noreferrer">Valid characters in XML</a></em> </p></div> <div class="mb0"> <div class="mt16 grid gs8 gsy fw-wrap jc-end ai-start pt4 mb16"> <div class="grid--cell mr16 fl1 w96"></div> <div class="post-signature grid--cell"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="edited Dec 17 '19 at 19:03">edited Dec 17 '19 at 19:03</time> <a href="../../users/63550/peter-mortensen" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/63550.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Peter Mortensen" /> </a> <div class="s-user-card--info"> <a href="../../users/63550/peter-mortensen" class="s-user-card--link">Peter Mortensen</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">30,738</li> <li class="s-award-bling s-award-bling__gold" title="21 gold badges">21</li> <li class="s-award-bling s-award-bling__silver" title="105 silver badges">105</li> <li class="s-award-bling s-award-bling__bronze" title="131 bronze badges">131</li> </ul> </div> </div> </div> <div class="post-signature grid--cell"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="answered Aug 15 '14 at 07:53">answered Aug 15 '14 at 07:53</time> <a href="../../users/10592/tim-cooper" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/10592.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Tim Cooper" /> </a> <div class="s-user-card--info"> <a href="../../users/10592/tim-cooper" class="s-user-card--link">Tim Cooper</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">10,023</li> <li class="s-award-bling s-award-bling__gold" title="5 gold badges">5</li> <li class="s-award-bling s-award-bling__silver" title="61 silver badges">61</li> <li class="s-award-bling s-award-bling__bronze" title="77 bronze badges">77</li> </ul> </div> </div> </div> </div> </div> </div> <div class="post-layout--right js-post-comments-component"> </div> </div> </div> <a name="65956451"></a> <div id="answer-65956451" class="answer " data-answerid="65956451" data-ownerid="1536133" data-score="7" itemprop="suggestedAnswer" itemscope="" itemtype="https://schema.org/Answer"> <div class="post-layout"> <div class="votecell post-layout--left"> <div class="js-voting-container grid jc-center fd-column ai-stretch gs4 fc-black-200" data-post-id="65956451"> <button class="js-vote-up-btn grid--cell s-btn s-btn__unset c-pointer"><svg aria-hidden="true" class="m0 svg-icon iconArrowUpLg" width="36" height="36" viewBox="0 0 36 36"><path d="M2 26h32L18 10 2 26z"></path></svg></button> <div class="js-vote-count grid--cell fc-black-500 fs-title grid fd-column ai-center" itemprop="upvoteCount" data-value="7">7</div> </div> </div> <div class="postcell post-layout--right"> <div class="s-prose js-post-body" itemprop="text"><p>The accepted answer is not correct. Best is to use a library for escaping xml.</p> <p>As mentioned in this <a href="../../questions/730133/what-are-invalid-characters-in-xml">other question</a></p> <p>"Basically, the control characters and characters out of the Unicode ranges are not allowed. This means also that calling for example the character entity is forbidden."</p> <p>If you only escape the five characters. You can have problems like <a href="../../questions/5742543/an-invalid-xml-character-unicode-0xc-was-found">An invalid XML character (Unicode: 0xc) was found</a></p></div> <div class="mb0"> <div class="mt16 grid gs8 gsy fw-wrap jc-end ai-start pt4 mb16"> <div class="grid--cell mr16 fl1 w96"></div> <div class="post-signature grid--cell"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="answered Jan 29 '21 at 14:35">answered Jan 29 '21 at 14:35</time> <a href="../../users/1536133/gabriel-furstenheim" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1536133.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Gabriel Furstenheim" /> </a> <div class="s-user-card--info"> <a href="../../users/1536133/gabriel-furstenheim" class="s-user-card--link">Gabriel Furstenheim</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">2,969</li> <li class="s-award-bling s-award-bling__silver" title="30 silver badges">30</li> <li class="s-award-bling s-award-bling__bronze" title="27 bronze badges">27</li> </ul> </div> </div> </div> </div> </div> </div> <div class="post-layout--right js-post-comments-component"> <div id="comments-65956451" class="comments js-comments-container bt bc-black-075 mt12 " data-post-id="65956451" data-min-length="15"> <ul class="comments-list js-comments-list" data-remaining-comments-count="0" data-canpost="false" data-cansee="true" data-comments-unavailable="false" data-addlink-disabled="true"> <li id="comment-134311911" class="comment js-comment " data-comment-id="134311911" data-comment-owner-id="6303083" data-comment-score="0"> <div class="js-comment-actions comment-actions"> <div class="comment-score js-comment-edit-hide"> </div> </div> <div class="comment-text js-comment-text-and-form"> <a name="comment134311911_65956451"></a> <div class="comment-body js-comment-edit-hide"> <span class="comment-copy">Which library can be used?</span> –&nbsp;<a href="../../users/6303083/salman-shaikh" title="575 reputation" class="comment-user ">Salman Shaikh</a> <span class="comment-date" dir="ltr"><a class="comment-link" href="../../questions/1091945/what-characters-do-i-need-to-escape-in-xml-documents#comment134311911_65956451"><span title="2023-05-03T06:25:04.450 License: CC BY-SA 4.0" class="relativetime-clean">May 03 '23 at 06:25</span></a></span> </div> </div> </li> <li id="comment-134328437" class="comment js-comment " data-comment-id="134328437" data-comment-owner-id="1536133" data-comment-score="0"> <div class="js-comment-actions comment-actions"> <div class="comment-score js-comment-edit-hide"> </div> </div> <div class="comment-text js-comment-text-and-form"> <a name="comment134328437_65956451"></a> <div class="comment-body js-comment-edit-hide"> <span class="comment-copy">Each language will be different. You can check Java in this other Stackoverflow question https://stackoverflow.com/a/439311</span> –&nbsp;<a href="../../users/1536133/gabriel-furstenheim" title="2,969 reputation" class="comment-user ">Gabriel Furstenheim</a> <span class="comment-date" dir="ltr"><a class="comment-link" href="../../questions/1091945/what-characters-do-i-need-to-escape-in-xml-documents#comment134328437_65956451"><span title="2023-05-04T07:38:02.083 License: CC BY-SA 4.0" class="relativetime-clean">May 04 '23 at 07:38</span></a></span> </div> </div> </li> </ul> </div> </div> </div> </div> <a name="30646834"></a> <div id="answer-30646834" class="answer " data-answerid="30646834" data-ownerid="991073" data-score="4" itemprop="suggestedAnswer" itemscope="" itemtype="https://schema.org/Answer"> <div class="post-layout"> <div class="votecell post-layout--left"> <div class="js-voting-container grid jc-center fd-column ai-stretch gs4 fc-black-200" data-post-id="30646834"> <button class="js-vote-up-btn grid--cell s-btn s-btn__unset c-pointer"><svg aria-hidden="true" class="m0 svg-icon iconArrowUpLg" width="36" height="36" viewBox="0 0 36 36"><path d="M2 26h32L18 10 2 26z"></path></svg></button> <div class="js-vote-count grid--cell fc-black-500 fs-title grid fd-column ai-center" itemprop="upvoteCount" data-value="4">4</div> </div> </div> <div class="postcell post-layout--right"> <div class="s-prose js-post-body" itemprop="text"><p>It depends on the context. For the content, it is <em>&lt;</em> and <em>&amp;</em>, and <em>]]&gt;</em> (though a string of three instead of one character).</p> <p>For attribute values, it is <em>&lt;</em>, <em>&amp;</em>, <em>"</em>, and <em>'</em>.</p> <p>For CDATA, it is <em>]]&gt;</em>.</p></div> <div class="mb0"> <div class="mt16 grid gs8 gsy fw-wrap jc-end ai-start pt4 mb16"> <div class="grid--cell mr16 fl1 w96"></div> <div class="post-signature grid--cell"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="edited Dec 17 '19 at 19:05">edited Dec 17 '19 at 19:05</time> <a href="../../users/63550/peter-mortensen" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/63550.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Peter Mortensen" /> </a> <div class="s-user-card--info"> <a href="../../users/63550/peter-mortensen" class="s-user-card--link">Peter Mortensen</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">30,738</li> <li class="s-award-bling s-award-bling__gold" title="21 gold badges">21</li> <li class="s-award-bling s-award-bling__silver" title="105 silver badges">105</li> <li class="s-award-bling s-award-bling__bronze" title="131 bronze badges">131</li> </ul> </div> </div> </div> <div class="post-signature grid--cell"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="answered Jun 04 '15 at 14:36">answered Jun 04 '15 at 14:36</time> <a href="../../users/991073/ba-you-qing-liu-zai-wu-yan" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/991073.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="把友情留在无盐" /> </a> <div class="s-user-card--info"> <a href="../../users/991073/ba-you-qing-liu-zai-wu-yan" class="s-user-card--link">把友情留在无盐</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">269</li> <li class="s-award-bling s-award-bling__silver" title="2 silver badges">2</li> <li class="s-award-bling s-award-bling__bronze" title="8 bronze badges">8</li> </ul> </div> </div> </div> </div> </div> </div> <div class="post-layout--right js-post-comments-component"> </div> </div> </div> <a name="22814344"></a> <div id="answer-22814344" class="answer " data-answerid="22814344" data-ownerid="3316133" data-score="-9" itemprop="suggestedAnswer" itemscope="" itemtype="https://schema.org/Answer"> <div class="post-layout"> <div class="votecell post-layout--left"> <div class="js-voting-container grid jc-center fd-column ai-stretch gs4 fc-black-200" data-post-id="22814344"> <button class="js-vote-up-btn grid--cell s-btn s-btn__unset c-pointer"><svg aria-hidden="true" class="m0 svg-icon iconArrowUpLg" width="36" height="36" viewBox="0 0 36 36"><path d="M2 26h32L18 10 2 26z"></path></svg></button> <div class="js-vote-count grid--cell fc-black-500 fs-title grid fd-column ai-center" itemprop="upvoteCount" data-value="-9">-9</div> </div> </div> <div class="postcell post-layout--right"> <div class="s-prose js-post-body" itemprop="text"><p>Only <code>&lt;</code> and <code>&amp;</code> are required to be escaped if they are to be treated character data and not markup:</p> <p><em><a class="external-link" href="http://www.w3.org/TR/xml11/#syntax" rel="nofollow noreferrer">2.4 Character Data and Markup</a></em></p></div> <div class="mb0"> <div class="mt16 grid gs8 gsy fw-wrap jc-end ai-start pt4 mb16"> <div class="grid--cell mr16 fl1 w96"></div> <div class="post-signature grid--cell"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="edited Jan 26 '20 at 14:00">edited Jan 26 '20 at 14:00</time> <a href="../../users/63550/peter-mortensen" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/63550.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Peter Mortensen" /> </a> <div class="s-user-card--info"> <a href="../../users/63550/peter-mortensen" class="s-user-card--link">Peter Mortensen</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">30,738</li> <li class="s-award-bling s-award-bling__gold" title="21 gold badges">21</li> <li class="s-award-bling s-award-bling__silver" title="105 silver badges">105</li> <li class="s-award-bling s-award-bling__bronze" title="131 bronze badges">131</li> </ul> </div> </div> </div> <div class="post-signature grid--cell"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="answered Apr 02 '14 at 14:17">answered Apr 02 '14 at 14:17</time> <a href="../../users/3316133/questionless" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/3316133.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Questionless" /> </a> <div class="s-user-card--info"> <a href="../../users/3316133/questionless" class="s-user-card--link">Questionless</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">39</li> <li class="s-award-bling s-award-bling__bronze" title="4 bronze badges">4</li> </ul> </div> </div> </div> </div> </div> </div> <div class="post-layout--right js-post-comments-component"> </div> </div> </div> </div> </div> <div id="sidebar" class="show-votes" role="complementary" aria-label="sidebar"> <div class="module sidebar-linked"> <h4 id="h-linked">Linked</h4> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">13</div></a> <a href="../../questions/27729020/why-must-the-entity-name-immediately-follow-the-in-the-entity-reference-appear" class="question-hyperlink">Why must the entity name immediately follow the '&amp;' in the entity reference appearing for the XML?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">3</div></a> <a href="../../questions/28026861/unable-to-convert-special-characters-on-reading-xml" class="question-hyperlink">Unable to convert special characters on reading XML</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/28475654/convert-to-lt-gt-in-rubyxl-parser-in-ruby" class="question-hyperlink">&lt;&gt; convert to &amp;lt; &amp;gt; in RubyXL::Parser in ruby</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/28840149/lightweight-library-to-create-xml-strings-from-javascript" class="question-hyperlink">Lightweight library to create XML strings from javascript?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/29375671/why-is-it-invalid-to-have-or-characters-in-an-xml-element-name" class="question-hyperlink">Why is it invalid to have &quot;(&quot; or &quot;)&quot; characters in an XML Element Name?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/30038272/embedding-a-link-tag-as-plain-text-within-code-or-pre" class="question-hyperlink">Embedding a &lt;link&gt; tag as plain text within &lt;code&gt; or &lt;pre&gt;</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">3</div></a> <a href="../../questions/30163744/not-able-to-convert-a-string-to-xml" class="question-hyperlink">Not able to convert a string to XML</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/32063630/c-xml-serialization-with-special-characters-like-unicodes" class="question-hyperlink">c# xml serialization with special characters like unicodes</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">4</div></a> <a href="../../questions/1140295/asp-net-can-you-do-a-string-format-on-a-web-config-key-value" class="question-hyperlink">(ASP.NET) Can you do a String.Format on a web.config key/value?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/33495823/unescape-amp-when-editing-xml-html" class="question-hyperlink">Unescape &quot;&amp;amp&quot; when editing XML\HTML</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/33724264/xml-not-well-formed-exception-on-specific-characters" class="question-hyperlink">XML not well formed exception - on specific characters</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">1</div></a> <a href="../../questions/33961518/literal-url-in-dynamically-generated-svg-prohibited" class="question-hyperlink">Literal URL in dynamically-generated SVG prohibited?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">1</div></a> <a href="../../questions/35114471/how-to-aggregate-multiple-xmlelement-using-xmlagg" class="question-hyperlink">How to aggregate multiple XMLELEMENT using XMLAGG</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/35301343/how-do-i-include-in-an-xml-file-quote" class="question-hyperlink">How do I include &quot;&lt;&quot; in an XML file quote?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">4</div></a> <a href="../../questions/35520594/parse-xhtml5-into-xdocument" class="question-hyperlink">Parse XHTML5 into XDocument</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">-3</div></a> <a href="../../questions/35677304/what-is-wrong-with-this-file-or-code" class="question-hyperlink">What is wrong with this file or code?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">20</div></a> <a href="../../questions/4873765/what-is-the-escape-sequence-for-in-string-literals-in-web-config" class="question-hyperlink">What is the escape sequence for &amp; in string literals in web.config?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">1</div></a> <a href="../../questions/36691784/appsetting-entry-in-web-config-throwing-error-for-special-characters" class="question-hyperlink">Appsetting entry in web.config throwing error for special characters</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">78</div></a> <a href="../../questions/3360017/why-does-xslt-output-all-text-by-default" class="question-hyperlink">Why does XSLT output all text by default?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/37603595/changes-to-xml-file-not-reflected-for-different-language" class="question-hyperlink">Changes to XML file not reflected for different language</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">1</div></a> <a href="../../questions/37920246/can-i-use-quote-marks-in-an-xml-documentation-comment" class="question-hyperlink">Can I use quote marks in an XML documentation comment?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/37972863/why-does-android-studio-display-an-error-message-when-we-put-character-in-text" class="question-hyperlink">Why does android studio display an error message when we put '&lt;' character in text of a button or a TextView?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/37974253/why-aren-t-my-omnibox-suggestions-redirecting-to-another-page" class="question-hyperlink">Why aren't my Omnibox suggestions redirecting to another page?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">3</div></a> <a href="../../questions/38229796/escaping-ampersands-in-xml" class="question-hyperlink">escaping ampersands in XML</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/38895688/android-studio-error-parsing-xml-failed-to-build-application" class="question-hyperlink">Android Studio : Error parsing XML, failed to build application</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">1</div></a> <a href="../../questions/39109803/avoid-escaped-characters-in-postman-responses" class="question-hyperlink">Avoid escaped characters in Postman responses</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/39205404/greater-than-symbol-works-but-less-than-not-in-xslt" class="question-hyperlink">greater than symbol works but less than not in xslt</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">3</div></a> <a href="../../questions/4912527/android-layout-file-doesn-t-allow-charactors-such-as" class="question-hyperlink">Android layout file doesn't allow charactors such as &amp;, &lt;, &gt;</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/39930078/error-on-line-1-at-column-158-attvalue-or-expected" class="question-hyperlink">error on line 1 at column 158: AttValue: &quot; or ' expected</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">166</div></a> <a href="../../questions/18749591/encode-html-entities-in-javascript" class="question-hyperlink">Encode HTML entities in JavaScript</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/40320270/setting-text-for-text-view" class="question-hyperlink">Setting text for text view</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">-1</div></a> <a href="../../questions/40633379/connection-string-stored-in-web-config-file-doesn-t-open-sql-server-connection" class="question-hyperlink">Connection string stored in web.config file doesn't open SQL Server connection</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">2</div></a> <a href="../../questions/40636065/write-entity-reference-to-a-value-of-attribute" class="question-hyperlink">Write entity reference to a value of attribute</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">1</div></a> <a href="../../questions/40748872/web-api-2-frombody-object-always-null-when-a-variable-contains-ampersand" class="question-hyperlink">Web Api 2 - FromBody object always null when a variable contains ampersand</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">-2</div></a> <a href="../../questions/40843314/c-xml-ignore-and-characters-in-a-node" class="question-hyperlink">C# XML ignore &lt; and &gt; characters in a node</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">2</div></a> <a href="../../questions/3698397/is-there-any-built-in-function-in-net-framework-which-encodes-a-string-to-a-va" class="question-hyperlink">Is there any built-in function in NET Framework which encodes a string to a valid XML unicode?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/41103605/xml-parsing-semicolon-expected-only-when-replacing-with-amp" class="question-hyperlink">XML parsing semicolon expected - only when replacing &amp; with &amp;amp</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">597</div></a> <a href="../../questions/1328538/how-do-i-escape-ampersands-in-xml-so-they-are-rendered-as-entities-in-html" class="question-hyperlink">How do I escape ampersands in XML so they are rendered as entities in HTML?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/41303848/what-characters-to-escape-in-string-to-xml-in-sql-server" class="question-hyperlink">What characters to escape in string to XML in SQL Server?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/41809801/exporting-regex-strings-to-android-ressources" class="question-hyperlink">exporting regex strings to Android ressources</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/41816350/how-to-loop-through-arraylist-string-and-added-to-the-child-node-and-child-nod" class="question-hyperlink">How to loop through Arraylist &lt;String&gt; and added to the child node and child node added to the parent node</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">13</div></a> <a href="../../questions/41939861/logical-and-and-logical-or-operators-in-logback-configuration-if-statement" class="question-hyperlink">&amp;&amp; (logical and) and || (logical or) operators in Logback configuration (if statement)</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">1</div></a> <a href="../../questions/42464964/how-to-prevent-blogger-from-converting-my-c-source-code-snippet-in-compose-vie" class="question-hyperlink">How to prevent blogger from converting my c++ source code snippet in compose view?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">1</div></a> <a href="../../questions/43169277/how-can-i-show-left-shift-operator-on-my-button-in-android" class="question-hyperlink">How can i show left shift operator on my button in android?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/2806204/special-characters-in-xhtml-parse-error" class="question-hyperlink">Special characters in XHTML - Parse Error</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">1</div></a> <a href="../../questions/43539307/how-to-post-string-with-special-character-and-thai-language-using-xml-parsing-" class="question-hyperlink">How to post string with special character and Thai Language using XML parsing in Objective C?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/40933335/response-on-xml-data-is-skipped-when-reaching-special-characters" class="question-hyperlink">Response on Xml data is skipped when reaching special characters</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">1</div></a> <a href="../../questions/43639242/space-disappears-on-transferring-via-wcf-xml" class="question-hyperlink">Space disappears on transferring via wcf (xml)</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">-2</div></a> <a href="../../questions/43777986/special-character-not-reading-in-txt-file" class="question-hyperlink">Special character not reading in .txt file</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/43817642/java-how-to-pass-multiple-query-string-in-struts-xml" class="question-hyperlink">Java: How to Pass multiple Query String in Struts.xml</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">-1</div></a> <a href="../../questions/43954805/error-45-error-parsing-xml-not-well-formed-invalid-token-because-button" class="question-hyperlink">Error:(45) Error parsing XML: not well-formed (invalid token) Because Button &quot;&lt;&lt;&quot;</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/44265480/sap-m-formattedtext-not-working-in-the-sap-m-customtile" class="question-hyperlink">sap.m.FormattedText not working in the sap.m.CustomTile</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/44281918/sharepoint-calculated-field-formula-syntax" class="question-hyperlink">Sharepoint calculated field formula syntax</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">-3</div></a> <a href="../../questions/45443390/load-specific-values-from-a-xml-into-another-xml" class="question-hyperlink">Load specific values from a XML into another XML</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/45438632/need-regular-expression-for-the-url" class="question-hyperlink">Need regular expression for the URL</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/45524906/xerceslib-fail-to-parse-invalid-xmml" class="question-hyperlink">XercesLib fail to parse invalid XMML</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/45981629/configuration-setting" class="question-hyperlink">Configuration Setting</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/46071854/jaxb-xml-unmarshal-with-in-attribute-value" class="question-hyperlink">JAXB XML unmarshal with / in attribute value</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/46850351/why-are-and-shown-in-this-xml-example" class="question-hyperlink">Why are &quot;&lt;&quot; , &quot;&gt;&quot; , &quot; and ' shown in this XML example?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/47137646/xml-parse-issue-with-parsing-text-from-specific-node" class="question-hyperlink">XML Parse - Issue with parsing text from specific Node</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">2</div></a> <a href="../../questions/47192336/error-39-error-parsing-xml-not-well-formed-invalid-token" class="question-hyperlink">Error:(39) Error parsing XML: not well-formed (invalid token)</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/47228298/error-xml-document-structures-must-start-and-end-within-the-same-entity" class="question-hyperlink">Error:XML document structures must start and end within the same entity</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/47308705/xml-files-having-numeric-entities-doesn-t-recognize-tags" class="question-hyperlink">XML files having numeric entities doesn't recognize tags</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/47531968/how-can-i-validate-my-3000000-line-long-xml-file" class="question-hyperlink">How can I validate my 3,000,000 line long XML file?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">182</div></a> <a href="../../questions/3961505/how-can-i-escape-double-quotes-in-xml-attributes-values" class="question-hyperlink">How can I escape double quotes in XML attributes values?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">1</div></a> <a href="../../questions/48423537/as-amp-in-xml-not-working-for-google-search-console" class="question-hyperlink">&amp; as &amp;amp; in XML not working for google search console</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">2</div></a> <a href="../../questions/48777903/is-it-possible-to-put-regex-directly-into-xml-content" class="question-hyperlink">Is it possible to put regex directly into XML content?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">1</div></a> <a href="../../questions/49388454/google-maps-escaped-characters-not-displayed-correctly-39-xml-and-javascript" class="question-hyperlink">Google Maps Escaped Characters Not Displayed Correctly &amp;#39 - XML and Javascript</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/49644597/how-to-unescape-string-in-xml-using-transformer" class="question-hyperlink">How to unescape string in XML using Transformer?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">5</div></a> <a href="../../questions/50101617/how-to-use-xpath-to-select-text-with-a-quote-character" class="question-hyperlink">How to use XPath to select text with a quote character?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">3</div></a> <a href="../../questions/50584190/why-xml-character-constraint-is-asymmetric" class="question-hyperlink">Why XML Character constraint is asymmetric?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">1</div></a> <a href="../../questions/50665496/how-to-parse-which-is-not-tag" class="question-hyperlink">How to parse &quot;&gt;&quot; which is not tag</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">1</div></a> <a href="../../questions/51050861/batch-file-is-not-executing-before-application-uninstalled-using-wix" class="question-hyperlink">Batch file is not executing before application uninstalled using WiX</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">2</div></a> <a href="../../questions/51816694/is-it-absolutely-mandatory-to-replace-by-gt-in-xml-files" class="question-hyperlink">Is it absolutely mandatory to replace &quot;&gt;&quot; by &quot;&amp;gt;&quot; in XML files?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/51891238/error-when-deserializing-a-memorystream-into-a-class-if-the-symbol-appears-in-" class="question-hyperlink">error when deserializing a memorystream into a class if the &quot;&amp;&quot; symbol appears in the xml text</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">-2</div></a> <a href="../../questions/52386692/overusing-cdata-in-xml" class="question-hyperlink">Overusing CDATA in XML?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/52506433/replace-for-loop-with-foreach-function" class="question-hyperlink">Replace for loop with forEach function</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">1</div></a> <a href="../../questions/53006631/escape-in-xml" class="question-hyperlink">Escape \ in XML?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/53030606/inherit-and-replace-ir-rule-odoo-11" class="question-hyperlink">inherit and replace ir.rule odoo 11</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/54595756/string-in-xml-file" class="question-hyperlink">&quot;&lt;&quot; string in xml file</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">1</div></a> <a href="../../questions/55141766/if-greater-than-javascript-into-xslt-doesn-t-work" class="question-hyperlink">If greater than javascript into XSLT doesn't work</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/55401185/escaping-characters-for-use-with-oracle-s-xmltable" class="question-hyperlink">Escaping characters for use with Oracle's Xmltable</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">3</div></a> <a href="../../questions/1137790/how-can-i-escape-text-for-an-xml-document-in-perl" class="question-hyperlink">How can I escape text for an XML document in Perl?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">2</div></a> <a href="../../questions/51329788/how-to-append-to-a-list-in-automation-anywhere-10-5" class="question-hyperlink">How to append to a list in Automation Anywhere 10.5?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/57098439/how-to-set-button-text-to-in-android-c" class="question-hyperlink">how to set button text to &quot;&lt;&quot; in android C#?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">1</div></a> <a href="../../questions/57173623/how-do-i-parse-the-html-for-corresponding-to-the-xml-standard" class="question-hyperlink">How do I parse the Html for corresponding to the XML standard?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/57450461/problem-in-parsing-the-xml-file-xml-etree-elementtree-parseerror-not-well-form" class="question-hyperlink">Problem in parsing the XML file: xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 19, column 175</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/58304227/xelement-attribute-value-loses-its-encoding" class="question-hyperlink">Xelement attribute value loses its encoding</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/28480412/which-character-should-not-be-set-as-values-in-xml-file" class="question-hyperlink">Which character should not be set as values in XML file</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/59041249/xml-formatting-routine-chokes-on-special-characters-including-an-ampersand" class="question-hyperlink">XML Formatting routine chokes on special characters, including an ampersand</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">-1</div></a> <a href="../../questions/59083851/how-to-use-exclamation-in-xml-file" class="question-hyperlink">How to use exclamation(!) in XML File</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">-2</div></a> <a href="../../questions/59278932/during-xml-parsing-does-not-convert-to-amp-what-can-be-the-best-solution-for-t" class="question-hyperlink">During xml parsing does not convert &amp; to &amp;amp; ? What can be the best solution for this?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">3</div></a> <a href="../../questions/59634897/invalid-character-in-entity-name-after-upgrading-to-n-6-3-with-in-condition" class="question-hyperlink">&quot;Invalid character in entity name&quot; after upgrading to {N} 6.3 with &amp;&amp; in condition</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">10</div></a> <a href="../../questions/5331580/apostrophe-inside-xml-element-value" class="question-hyperlink">APOSTROPHE inside xml element value</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/60085980/groovy-xmlparser-how-to-handle-quotes-in-strings" class="question-hyperlink">Groovy XmlParser How to handle quotes in strings?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/60367370/cannot-account-for-all-special-characters-in-xml" class="question-hyperlink">cannot account for all special characters in XML</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/60456387/passing-in-xquery-with-basex-post-method" class="question-hyperlink">Passing &lt; &gt; in xquery with BaseX POST method</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">1</div></a> <a href="../../questions/60954089/xsd-schema-validation-error-must-not-contain-the-character" class="question-hyperlink">XSD Schema Validation Error : must not contain the '&lt;' character</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/61101367/element-type-must-be-followed-by-either-attribute-specifications-or" class="question-hyperlink">Element type must be followed by either attribute specifications, &quot;&gt;&quot;, or &quot;/&gt;&quot;</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">15</div></a> <a href="../../questions/61486081/password-with-special-characters-in-connectionstring" class="question-hyperlink">Password with special characters in connectionString</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">1</div></a> <a href="../../questions/61632419/the-value-of-attribute-standarddata-associated-with-an-element-type-null-must-" class="question-hyperlink">The value of attribute &quot;standardData&quot; associated with an element type &quot;null&quot; must not contain the '&lt;' character</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/61721668/xml-file-need-to-open-a-exe-on-my-c-drive-but-the-path-has-a-in-it-fails" class="question-hyperlink">XML file need to open a .exe on my c drive, but the path has a &amp; in it. Fails</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">235</div></a> <a href="../../questions/3752769/how-to-escape-double-quotes-in-a-title-attribute" class="question-hyperlink">How to escape double quotes in a title attribute</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">-1</div></a> <a href="../../questions/62077877/translate-in-xml-rdf-triple" class="question-hyperlink">Translate &quot;&gt;&quot; in XML RDF Triple</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">1</div></a> <a href="../../questions/62159868/how-to-use-double-quotes-in-xml" class="question-hyperlink">How to use double quotes in xml?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">1</div></a> <a href="../../questions/62348567/why-are-non-ascii-characters-escaped-in-attribute-values-after-writing-an-xml-" class="question-hyperlink">Why are non-ASCII characters escaped in attribute-values after writing an XML-file with lxml?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">1</div></a> <a href="../../questions/62455470/xml-name-cannot-begin-with-the-character" class="question-hyperlink">XML Name Cannot Begin with the &quot;=&quot; Character</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/62906753/xml-parsing-end-tag-does-not-match-start-tag" class="question-hyperlink">XML parsing: end tag does not match start tag</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">3</div></a> <a href="../../questions/63114061/xmlstreamexception-on-valid-xml" class="question-hyperlink">XMLStreamException on valid XML</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">1</div></a> <a href="../../questions/63510894/wix-how-to-include-the-equal-signs-and-ampersand-in-the-string-table-to-avoid-" class="question-hyperlink">WIX How to include the equal signs and ampersand in the string table to avoid LGHT0104 error</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/63640860/android-strings-xml-apostrophe-date-and-string-crash" class="question-hyperlink">Android strings.xml apostrophe, date, and string crash</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">1</div></a> <a href="../../questions/64218517/escape-within-a-string-in-xslt" class="question-hyperlink">Escape &quot;&amp;&quot; within a string in XSLT</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">-1</div></a> <a href="../../questions/64621949/parsing-ruby-var-in-json" class="question-hyperlink">Parsing Ruby var in JSON</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/5402123/what-are-the-possible-special-characters-which-need-to-be-handled-in-creating-" class="question-hyperlink">What are the possible special characters which need to be handled in creating XML?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/66219833/apostrophe-s-in-xml-string-file" class="question-hyperlink">Apostrophe s in XML string file</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">1</div></a> <a href="../../questions/66281012/pass-a-json-object-in-function-as-a-variable" class="question-hyperlink">Pass a json object in function as a variable</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">2</div></a> <a href="../../questions/66433426/how-to-stop-config-file-from-throwing-errors-because-of-symbols" class="question-hyperlink">How to stop config file from throwing errors because of symbols?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">1</div></a> <a href="../../questions/2894812/how-can-i-encode-a-perl-string-so-i-can-put-it-into-an-xml-document" class="question-hyperlink">How can I encode a Perl string so I can put it into an XML document?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">2</div></a> <a href="../../questions/67077209/unescaped-not-allowed-in-attributes-values" class="question-hyperlink">Unescaped '&lt;' not allowed in attributes values</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/68921389/how-to-include-in-xml-file" class="question-hyperlink">How to include &quot;&amp;&quot; in XML file</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">300</div></a> <a href="../../questions/1265282/what-is-the-recommended-way-to-escape-html-symbols-in-plain-java" class="question-hyperlink">What is the recommended way to escape HTML symbols in plain Java?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/69750246/how-to-add-username-and-password-for-xml-format-with-python" class="question-hyperlink">How to add username and password for xml format with python</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">1</div></a> <a href="../../questions/69865701/why-must-be-escaped-in-an-xml-attribute" class="question-hyperlink">Why must &lt; be escaped in an XML attribute?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">15</div></a> <a href="../../questions/6898259/when-is-it-required-to-escape-characters-in-xml" class="question-hyperlink">When is it required to escape characters in XML?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">1</div></a> <a href="../../questions/71082919/parse-error-near-slash-n-while-running-xml-file" class="question-hyperlink">Parse error near slash n while running xml file</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">285</div></a> <a href="../../questions/730133/what-are-invalid-characters-in-xml" class="question-hyperlink">What are invalid characters in XML</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/71602770/how-to-pass-equal-to-symbol-through-xml-or-what-is-the-escape-character-in-xml" class="question-hyperlink">How to pass 'equal to' symbol (=) through XML or What is the escape character in XML corresponds to the 'equal to' (=) symbol</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/71881112/how-should-i-handle-in-stringbuilder-as-later-this-is-being-used-as-xml-and-pa" class="question-hyperlink">How should I handle &quot;&amp;&quot; in StringBuilder as later this is being used as XML and parsing that XML throws error in SQL Server database</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/72674031/xml-xsl-the-value-of-attribute-test-associated-with-an-element-type-xsl-when-m" class="question-hyperlink">XML/XSL - The value of attribute &quot;test&quot; associated with an element type &quot;xsl:when&quot; must not contain the '&lt;' character</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">2</div></a> <a href="../../questions/72696326/parse-and-save-xml-without-replacing" class="question-hyperlink">Parse and save XML without replacing &gt;</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">3</div></a> <a href="../../questions/28973354/in-python-lxml-etree-why-the-apostrophe-is-not-automatically-escaped-as-other-" class="question-hyperlink">In Python lxml.etree why the apostrophe is not automatically escaped as other characters?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">2</div></a> <a href="../../questions/73000284/retrieve-cstring-file-path-from-xml-file" class="question-hyperlink">Retrieve CString file path from XML file</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">1</div></a> <a href="../../questions/73992241/python-lxml-save-question-with-special-character-in-string" class="question-hyperlink">python lxml save question with special character in string</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/74744256/htmlspecialchars-can-t-escape-and-in-xml-context" class="question-hyperlink">htmlspecialchars can't escape &quot; and ' in xml context</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/74944270/encode-specific-part-of-string-and-load-it-to-xml" class="question-hyperlink">Encode specific part of string and load it to xml</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/75321992/symbol-occurs-error-while-xml-parsing-in-ms-sql" class="question-hyperlink">&gt; &lt; symbol occurs error while XML parsing in MS SQL</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/75377093/how-to-print-the-escape-characters-as-it-is-while-using-prettyprintwriter" class="question-hyperlink">How to print the escape characters as it is while using PrettyPrintWriter?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">1</div></a> <a href="../../questions/75538836/java-s-xml-parser-is-too-forgiving" class="question-hyperlink">Java's XML parser is too forgiving</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/75651616/xml-request-problem-at-python-symbol-in-string-breaks-the-all-string" class="question-hyperlink">XML Request Problem at Python &amp; symbol in string breaks the all string</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/76152780/xml-escaping-issue" class="question-hyperlink">XML Escaping Issue</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">36</div></a> <a href="../../questions/5665231/most-efficient-way-to-escape-xml-html-in-c-string" class="question-hyperlink">Most efficient way to escape XML/HTML in C++ string?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">1</div></a> <a href="../../questions/5945800/using-symbols-in-xsl" class="question-hyperlink">using symbols in xsl</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">3</div></a> <a href="../../questions/3894436/how-can-i-create-a-persistent-vanity-url-in-dotnetnuke" class="question-hyperlink">How can I create a persistent vanity URL in DotNetNuke?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/6152497/content-controls-not-accepting" class="question-hyperlink">Content Controls not accepting &lt;,&gt;</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">17</div></a> <a href="../../questions/6306399/error-parsing-appsettings-value-with-a-query-string" class="question-hyperlink">Error parsing AppSettings value with a query string</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/6450918/javascript-escape-special-characters-except-non-english" class="question-hyperlink">javascript escape special characters except non english</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">3</div></a> <a href="../../questions/6665222/unable-to-parse-xml-data-with-colon-from-response-using-getnamespaces" class="question-hyperlink">Unable to parse xml data with colon (:) from response using getNamespaces()</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">1</div></a> <a href="../../questions/6679281/suggest-proper-approach-to-parse-invalid-xml-response-with-namespaces-in-this-" class="question-hyperlink">Suggest proper approach to parse invalid xml response with namespaces in this case</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">118</div></a> <a href="../../questions/1222367/escape-double-quote-character-in-xml" class="question-hyperlink">Escape double quote character in XML</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">1</div></a> <a href="../../questions/7160790/exc-bad-access-with-nsxmlparser" class="question-hyperlink">EXC_BAD_ACCESS with NSXMLParser</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">2</div></a> <a href="../../questions/7287740/xml-parsing-issue-with-special-characters" class="question-hyperlink">XML Parsing issue with special characters</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/5714548/android-xml-parsing-problem" class="question-hyperlink">Android: XML Parsing problem</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">1</div></a> <a href="../../questions/7494750/problem-with-xml-generation-in-php" class="question-hyperlink">Problem with XML generation in PHP</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">8</div></a> <a href="../../questions/7506074/how-to-put-the-character-into-an-xml-in-android-correctly" class="question-hyperlink">How to put the character &amp; into an xml in android correctly</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/7847427/how-can-i-set-text-like-help-and-support-in-android" class="question-hyperlink">How can i set text like &quot;Help&quot; and &quot;Support&quot; in android</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">2</div></a> <a href="../../questions/8291528/should-only-specific-characters-be-escaped-in-utf-8-xml" class="question-hyperlink">Should only specific characters be escaped in UTF-8 XML?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">3</div></a> <a href="../../questions/8561916/element-type-myelement-must-be-followed-by-either-attribute-specifications-or" class="question-hyperlink">Element type &quot;myelement&quot; must be followed by either attribute specifications, &quot;&gt;&quot; or &quot;/&gt;</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">21</div></a> <a href="../../questions/8701870/how-to-escape-in-maven-pom-property-values" class="question-hyperlink">how to escape '&amp;' in maven pom property values</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">2</div></a> <a href="../../questions/9150255/how-to-create-and-manage-large-xml-files-in-c" class="question-hyperlink">How to create and manage large XML files in C</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">1</div></a> <a href="../../questions/9162598/xml-design-describing-files-that-have-control-characters-in-their-names" class="question-hyperlink">XML design: describing files that have control characters in their names</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/10171019/how-to-get-the-nest-tags-as-string-rather-actual-nest-tags-using-php-dom" class="question-hyperlink">How to get the nest tags as string rather actual nest tags using PHP(DOM)?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">5</div></a> <a href="../../questions/1863215/xml-character-causing-problems" class="question-hyperlink">XML '&amp;' character causing problems</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">1</div></a> <a href="../../questions/10655421/how-to-remove-xml-symbol" class="question-hyperlink">How to remove xml &quot;&amp;&quot; symbol</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">56</div></a> <a href="../../questions/10883745/escape-in-app-config" class="question-hyperlink">Escape &amp; in App.config</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/11661152/issues-with-reading-and-writing-an-xml-file-in-java" class="question-hyperlink">Issues with reading and writing an XML file in Java</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/12338405/can-someone-help-de-bug-my-xml-parsing-error-not-well-formed-issue-with-my-xml" class="question-hyperlink">Can someone help de-bug my &quot;XML Parsing Error: not well-formed&quot; issue with my XML?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/12514075/how-to-represent-an-xml-escape-charecter-in-java-string" class="question-hyperlink">how to represent an XML escape charecter in java String</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">4</div></a> <a href="../../questions/13080080/how-do-you-pass-a-string-literal-in-from-a-settings-file-in-c" class="question-hyperlink">How do you pass a string literal in from a settings file in C#</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">1</div></a> <a href="../../questions/13475625/escape-in-xml-node" class="question-hyperlink">Escape &lt; in xml node</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">2</div></a> <a href="../../questions/13582556/handling-special-characters-in-xsl" class="question-hyperlink">Handling special characters in xsl</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">3</div></a> <a href="../../questions/14156309/c-cannot-save-apostrophe-to-xml" class="question-hyperlink">C# cannot save apostrophe to XML</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">3</div></a> <a href="../../questions/14671864/transforming-xml-into-ms-excel-xml-formula-syntax" class="question-hyperlink">Transforming XML into MS Excel XML - formula syntax</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/15611408/how-to-declare-the-variable-with-the-value-which-contains-special-characters-i" class="question-hyperlink">how to declare the variable with the value which contains special characters in web.config</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/15828153/retrieve-xml-file-using-nsxmlparser-in-ios" class="question-hyperlink">retrieve xml file using nsxmlparser in ios</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/17380246/escaping-all-symbols-in-html" class="question-hyperlink">Escaping all symbols in HTML</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">1</div></a> <a href="../../questions/17931034/error-validating-name-invalid-string-when-adding-customer" class="question-hyperlink">&quot;Error validating Name:Invalid string.&quot; When Adding Customer</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">3</div></a> <a href="../../questions/16718349/strange-failure-to-make-a-hit-for-amazon-mechanical-turk-with-some-urls" class="question-hyperlink">Strange failure to make a HIT for Amazon Mechanical Turk with some URLs?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">1</div></a> <a href="../../questions/18294701/apply-patch-as-part-of-a-build-step-in-maven" class="question-hyperlink">Apply patch as part of a build step in maven</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">2</div></a> <a href="../../questions/18416149/put-as-value-in-android-xml-file" class="question-hyperlink">put &lt; as value in android xml file</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">2</div></a> <a href="../../questions/19509417/having-greater-than-or-less-than-in-hibernate-named-sql-query" class="question-hyperlink">Having greater than or less than in hibernate named sql query</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">1</div></a> <a href="../../questions/19923590/reading-value-from-xml" class="question-hyperlink">Reading '&amp;' value from XML</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">11</div></a> <a href="../../questions/20566815/how-to-escape-the-and-symbols-in-xml" class="question-hyperlink">How to escape the &lt; and ≤ symbols in xml?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">3</div></a> <a href="../../questions/20546853/cruise-control-net-redirect-output-to-file" class="question-hyperlink">Cruise control .net redirect output to file</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/22081458/saving-data-from-html-form-into-xml-or-csv" class="question-hyperlink">Saving data from HTML form into XML or CSV</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">5</div></a> <a href="../../questions/2698722/escaping-curly-braces-in-xml" class="question-hyperlink">Escaping curly braces in XML</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/25129763/convert-public-cert-private-key-and-certificate-chain-pem-files-to-jks-keystor" class="question-hyperlink">Convert public cert, private key, and certificate chain .pem files to jks keystore</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/25906657/encodeuricomponent-or-escape-in-vb6" class="question-hyperlink">encodeURIComponent or Escape in VB6</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">-3</div></a> <a href="../../questions/26703088/why-writealltext-method-saves-xml-with-special-characters" class="question-hyperlink">Why WriteAllText Method Saves XML with special Characters?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/26840358/how-to-display-in-xml-value" class="question-hyperlink">How to display &quot;&lt;&quot; in xml value</a> </div> </div> </div> <div class="module sidebar-linked"> <h4 id="h-linked">Related</h4> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">-2</div></a> <a href="../../questions/40843314/c-xml-ignore-and-characters-in-a-node" class="question-hyperlink">C# XML ignore &lt; and &gt; characters in a node</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/46850351/why-are-and-shown-in-this-xml-example" class="question-hyperlink">Why are &quot;&lt;&quot; , &quot;&gt;&quot; , &quot; and ' shown in this XML example?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">1</div></a> <a href="../../questions/50665496/how-to-parse-which-is-not-tag" class="question-hyperlink">How to parse &quot;&gt;&quot; which is not tag</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">2</div></a> <a href="../../questions/51816694/is-it-absolutely-mandatory-to-replace-by-gt-in-xml-files" class="question-hyperlink">Is it absolutely mandatory to replace &quot;&gt;&quot; by &quot;&amp;gt;&quot; in XML files?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/54931019/xslt-having-a-xml-schemalocation-with-ampersand" class="question-hyperlink">xslt having a XML schemalocation with &amp; (ampersand)</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">0</div></a> <a href="../../questions/28480412/which-character-should-not-be-set-as-values-in-xml-file" class="question-hyperlink">Which character should not be set as values in XML file</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/59041249/xml-formatting-routine-chokes-on-special-characters-including-an-ampersand" class="question-hyperlink">XML Formatting routine chokes on special characters, including an ampersand</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">-2</div></a> <a href="../../questions/59278932/during-xml-parsing-does-not-convert-to-amp-what-can-be-the-best-solution-for-t" class="question-hyperlink">During xml parsing does not convert &amp; to &amp;amp; ? What can be the best solution for this?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">1</div></a> <a href="../../questions/61632419/the-value-of-attribute-standarddata-associated-with-an-element-type-null-must-" class="question-hyperlink">The value of attribute &quot;standardData&quot; associated with an element type &quot;null&quot; must not contain the '&lt;' character</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/61721668/xml-file-need-to-open-a-exe-on-my-c-drive-but-the-path-has-a-in-it-fails" class="question-hyperlink">XML file need to open a .exe on my c drive, but the path has a &amp; in it. Fails</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">-1</div></a> <a href="../../questions/62077877/translate-in-xml-rdf-triple" class="question-hyperlink">Translate &quot;&gt;&quot; in XML RDF Triple</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/63640860/android-strings-xml-apostrophe-date-and-string-crash" class="question-hyperlink">Android strings.xml apostrophe, date, and string crash</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">4</div></a> <a href="../../questions/66058607/why-is-greater-than-symbol-supported-in-xml-attributes-while-less-than-symbol-" class="question-hyperlink">Why is &quot;&gt;&quot; (greater than symbol) supported in XML attributes while &quot;&lt;&quot; (less than symbol) is not?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">1</div></a> <a href="../../questions/67339690/parsing-xml-with-illegal-special-characters" class="question-hyperlink">Parsing XML with illegal special characters (&amp;)</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted default">15</div></a> <a href="../../questions/6898259/when-is-it-required-to-escape-characters-in-xml" class="question-hyperlink">When is it required to escape characters in XML?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">1</div></a> <a href="../../questions/70809669/php-parse-bad-syntaxed-xml-string-containing-un-encoded-entities" class="question-hyperlink">PHP parse bad-syntaxed XML string containing un-encoded entities</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/71602770/how-to-pass-equal-to-symbol-through-xml-or-what-is-the-escape-character-in-xml" class="question-hyperlink">How to pass 'equal to' symbol (=) through XML or What is the escape character in XML corresponds to the 'equal to' (=) symbol</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/72674031/xml-xsl-the-value-of-attribute-test-associated-with-an-element-type-xsl-when-m" class="question-hyperlink">XML/XSL - The value of attribute &quot;test&quot; associated with an element type &quot;xsl:when&quot; must not contain the '&lt;' character</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/75321992/symbol-occurs-error-while-xml-parsing-in-ms-sql" class="question-hyperlink">&gt; &lt; symbol occurs error while XML parsing in MS SQL</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">1</div></a> <a href="../../questions/76103703/how-to-process-less-than-symbols-inside-text-in-beautifulsoup4" class="question-hyperlink">How to process less than symbols inside text in BeautifulSoup4?</a> </div> </div> <div class="linked"> <div class="spacer"> <a title="Vote score (upvotes - downvotes)"><div class="answer-votes default">0</div></a> <a href="../../questions/76152780/xml-escaping-issue" class="question-hyperlink">XML Escaping Issue</a> </div> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>