[table]
|Character|Description|Escape|
|&|Ampersand|&|
|<|Less than|<|
|>|Greater than>|
|'|Apostrophe|'|
|"|Quotation mark|"|
[/table]
For example, if you wanted to display A & B > C < D 'E' "F" in our XML file, it would look like this:
A & B > C < D 'E ' "F "
|Character|Description|Escape|
|&|Ampersand|&|
|<|Less than|<|
|>|Greater than>|
|'|Apostrophe|'|
|"|Quotation mark|"|
[/table]
For example, if you wanted to display A & B > C < D 'E' "F" in our XML file, it would look like this:
A & B > C < D 'E ' "F "
本文介绍如何在XML文件中正确使用特殊字符,通过实体转义确保文档的正确解析。例如,展示'A&B>C<D'E'F'在XML中的正确表示形式。
1702

被折叠的 条评论
为什么被折叠?



