how to create binary XML
hi all can you tell me how to create a binary XML ?
<?xml version="1.0" encoding="U开发者_如何学运维S-ASCII"?>
<list>
<item>images10.gif</item>
<item>images19.gif</item>
<item>images18.gif</item>
<item>images17.gif</item>
<item>images16.gif</item>
</list>
how to covert this to BXML?
There are a few competing standards. If you don't want to complicate things, just use a well defined compression algorithm, like zip, 7zip, gzip, rar or something else.
If you wanted to include content from images
files, then you have to parse your xml and put those files' data in your xml file. Just be sure to escape that data with CDATA.
精彩评论