Home > Backend Development > XML/RSS Tutorial > Detailed introduction to the problem of XML special characters

Detailed introduction to the problem of XML special characters

黄舟
Release: 2017-03-23 16:51:14
Original
2275 people have browsed it

Approval Setting时特殊字符的问题:

如果Approver_Role输入了“
”,那么在申请表单时什么出错,因为在组合XML字符串时遇到了<。需要转义。

ServiceForFlowER.cs

c7e1c97b50f74f1e3aab1c0fb86ee566

下面是五个在XML文档中预定义好的实体:


实体必须以符号"&"开头,以符号";"结尾

注意: 只有"<" 字符和"&"字符对于XML来说是严格禁止使用的。剩下的都是合法的,为了减少出错,使用实体是一个好习惯。

The above is the detailed content of Detailed introduction to the problem of XML special characters. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template

<

<

小于号

>

大于号

&

&

'

'

单引号

"

"

双引号