Skip to content

Instantly share code, notes, and snippets.

@jarylan
Created September 19, 2016 09:19
Show Gist options
  • Save jarylan/1da90d88d5c5c8d6d50ac3fee94c7805 to your computer and use it in GitHub Desktop.
Save jarylan/1da90d88d5c5c8d6d50ac3fee94c7805 to your computer and use it in GitHub Desktop.
以下为部分XML标志符的数字和字符串转义符:
“ 双引号 (" 或 ")
’ 单引号 (' 或 ')
& and符号 (& 或 &)
< 小于号 (&#60; 或 &lt;)
> 大于号 (&#62; 或 &gt;)
@ at符号 (&#64;)
© 版权 (&#169;或 &copy;)
® 注册商标 (&#174;或 &reg;)
™ 商标 (&#8482;)
¥ 人民币 (&#165;或 &yen;)
下面的字符在 [XML]中被定义为 空白(whitespace)字符:
空格 (&#x0020;)
Tab (&#x0009;)
回车 (&#x000D;)
换行 (&#x000A;)
@jarylan
Copy link
Author

jarylan commented Sep 19, 2016

转义字符

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment