Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/207.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 有人能帮我找出xml文件中的错误吗_Android_Xml_String - Fatal编程技术网

Android 有人能帮我找出xml文件中的错误吗

Android 有人能帮我找出xml文件中的错误吗,android,xml,string,Android,Xml,String,这是我的strings.xml文件,我在该文件上遇到了一个错误,错误是“撇号前面没有\”。有谁能帮我一下,我哪里弄错了 <string name="musamman_burj_overview"> <p>Musamman Burj also called as the Saman Burj or the Shah-burj, is a beautiful octagonal tower erected close to the Shah Jahan's private

这是我的strings.xml文件,我在该文件上遇到了一个错误,错误是“撇号前面没有\”。有谁能帮我一下,我哪里弄错了

<string name="musamman_burj_overview">
  <p>Musamman Burj also called as the Saman Burj or the Shah-burj, is a beautiful octagonal tower erected close to the Shah Jahan's private hall Diwan-e-Khas in Lal Quila. \n\n As a matter of fact, the emperor Shah Jahan, who built the Taj, was imprisoned by his son Aurangzeb in the Agra Fort where he had a view on the building erected for his deceased wife.\n\n Shah Jahan is said to have passed away in the Musamman Burj, a tower with a spectacular marble balcony. From there one can probably have the best view on the Taj. Between the many pavilions, one can find small well maintained gardens. \n\n
    <font size="18" color="black"><b><u>Entry fee Structure:</u></b></font> \n\n Fee to this place is inclusive in the ticket to ‘Agra Fort’ 
  </p>
</string>

Musamman Burj又称为Saman Burj或Shah Burj,是一座美丽的八角塔,建在Lal Quila的沙贾汗私人大厅Diwan-e-Khas附近\n\n事实上,建造泰姬陵的皇帝沙贾汗被他的儿子奥朗泽布囚禁在阿格拉堡,在那里他可以看到为已故妻子修建的建筑物。\n\n据说沙贾汗在穆萨曼塔(Musamman Burj)中去世,这座塔有一个壮观的大理石阳台。从那里可以看到泰姬陵的最佳景色。在众多的亭台楼阁之间,你可以找到维护良好的小花园\n\n
入场费结构:\n\n这个地方的费用包含在“阿格拉堡”的门票中


如果不给出
\
,您就不能放置
'
。无论您在哪里使用
'

例:


你必须避开撇号:

试着改变

Jahan's

Jahan的


在需要的地方也可以这样做。

在发布问题之前,首先在谷歌上搜索可能的重复:错误本身就有解决方案……如果您正确阅读了错误……您可以得到解决方案……我认为这甚至与XML无关。XML转义单引号为&apos;而不是“布拉格的”——你能解释一下吗。我已经试过了,但我无法找到解决办法。我是新手。请帮忙。明白你的意思了。谢谢
\‘Agra Fort\’