开发者

how can we upload image to xml

how to upload images to the XML file using XML parser.Please provide me sample code or exa开发者_如何学运维mple.


Use the Base64 class. This will allow you to encode a binary stream to ASCII text which can be then appended in an XML element.

Afterwards, when you need the image, you can decode it once again to its original binary state.

Not that I recommend you to do things like this, since it will be inefficient and slow (my personal guess), but you can if you want.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜