Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am getting below error while passing & when insert value, that time only getting error.
How to handle & symbol passing value from UI.


XML parsing: line 11, character 16, illegal name character


What I have tried:

I am getting below error while passing & when insert value, that time only getting error.
How to handle & symbol passing value from UI.


I tried & instead of &.  But it's not working.

<pre>XML parsing: line 11, character 16, illegal name character
Posted
Updated 22-Aug-20 8:25am
Comments
OriginalGriff 21-Aug-20 2:08am    
Show us an actual XML fragment that shows the problem.

1 solution

How to escape "&" in XML? - Stack Overflow[^]

An "unescaped" ampersand will / can also crash an SSML speech synthesizer.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900