C
catcatdogdog
Unregistered / Unconfirmed
GUEST, unregistred user!
如果想把一幅图片或者是一个EXE文件也像字符串那样嵌入XML文档中,就如同在数据库中存储Blob字段一样,应该如何做?还是XML只能存储一个链接,不能存储文件本身?
<?xml version="1.0"
encoding="utf-8"
?>
<ImageFile>
<Title>Image Title</Title>
<Description>Some Description</Description>
<Content>binary data here...</Content>
</ImageFile>
<?xml version="1.0"
encoding="utf-8"
?>
<ImageFile>
<Title>Image Title</Title>
<Description>Some Description</Description>
<Content>binary data here...</Content>
</ImageFile>