xml 转意,><&"等符号报错,未定义实业

xml 转意,,,&,等符号报错,未定义实体在 XML 中有 5 个预定义的实体引用:小于大于&&和号&apos

xml 转意,>,<,&,"等符号报错,未定义实体
在 XML 中有 5 个预定义的实体引用:
&lt;<小于
&gt;>大于
&amp;&和号
&apos;'省略号
&quot;"引号

在vs2008里直接用
url="http://localhost:8080/abc/index.php?type=1&id=2&name=3"会报错
要替换"&"为"&amp;"

即url="http://localhost:8080/abc/index.php?type=1&amp;id=2&amp;name=3"

黑色头发:http://heisetoufa.iteye.com/