posts - 119, comments - 62, trackbacks - 0, articles - 0

XML中几个转意符的定义

Posted on 2006-05-24 14:48 Kevin Meng 阅读(614) 评论(0)  编辑  收藏

There are 5 predefined entity references in XML:

&lt; < less than
&gt; > greater than
&amp; & ampersand 
&apos; ' apostrophe
&quot; " quotation mark

Note: Only the characters "<" and "&" are strictly illegal in XML. Apostrophes, quotation marks and greater than signs are legal, but it is a good habit to replace them.


只有注册用户登录后才能发表评论。


网站导航: