MXML 中使用 && harry 星期五, 12/21/2007 - 06:45 发布 如果在MXML中使用类似下面的代码 <mx:Button enabled="{a && b}"/> 会出现这样的错误 "The entity name must immediately follow the '&' in the entity reference." 一开始我还以为是bug,网上搜了搜才知道似乎是xml的规范中 & 符号需要转义 解决方法: <mx:Button enabled="{a &amp;&amp; b}"/> flexbuilder mxml RIA 查看更多 about MXML 中使用 &&2 评论评论