将URL保存在xml元素中

Amr*_*har 3 xml parsing

An error occurred while parsing EntityName. Line 1, position 61.保存此URL时 出现此错误http://www.autorentalnews.com/t_inside.cfm?action=news_pick&storyID=36229

我不知道为什么我不能在xml文件中保存这样的url

元素写得那样

<New>
<ID>8b269f29-69a1-4551-8d72-4602df4e2c7e</ID>
<Title>Industry Rallies Against Ariz. Rental Car Tax</Title>
**<SourceUrl>http://www.autorentalnews.com/t_inside.cfm?action=news_pick&storyID=36229</SourceUrl>**
Run Code Online (Sandbox Code Playgroud)

有什么建议!

rom*_*man 12

你得到这个错误,因为&- 要么替换它&amp;或将你的网址存储在cdata部分 - 即<![CDATA[your-url-here]]>