I have a spreadsheet like this:
It contains a special character "&". After I converted it to xml, it's rendered as an entity name .
Here is the xml:
How to show/generate the special character "&" in xml file?
Thanks very much
You can't have the & sign in XML. It's not a properly formatted XML - that's why it's replaced with the & symbol.
Another option you have is using CDATA like this:
<![CDATA[SAILOR T&T]]>
There is a detail description of predefined entity of XML in http://www.w3schools.com/xml/xml_syntax.asp .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.