急,在XML的Attribute中为什么不能使用“&”符号,如<Menu text="&File">不能解析

急,在XML的Attribute中为什么不能使用“&”符号,如

1<menu text="&amp;File">不能解析。   
2  
3这是什么原因,难道不能用“&amp;”符号吗?   
4\---------------------------------------------------------------   
5  
6用&amp;代替&amp;</menu>
Published At
Categories with Web编程
Tagged with
comments powered by Disqus