开发者

how to create binary XML

开发者 https://www.devze.com 2023-02-02 19:17 出处:网络
hi all can you tell me how to create a binary XML ? <?xml version=\"1.0\" encoding=\"U开发者_如何学运维S-ASCII\"?>

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.

0

精彩评论

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