将照片添加到XML文件时遇到问题

时间:2019-01-29 17:51:20

标签: html xml image photo

您好,感谢您调查我的问题,我目前正在处理一个XML文件,该文件已被提取以创建目录列表。我要在这里实现的目标是在该人的名字旁边显示一个图像,但是无论我如何链接它,它似乎都不会在浏览器中显示。

我尝试将图像添加为,

<profile>
<lastname>Sample Last name</lastname>
<firstname>Sample First name</firstname>
<middlename></middlename>
<lastfirstname>First_Last</lastfirstname>
<indextitle><![CDATA[Dean]]></indextitle>
<photo>photo.jpg</photo>

<bio>
<![CDATA[<p>Lorem Ipsum is simply dummied text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p>]]>
</bio>
</profile>

0 个答案:

没有答案