开发者

Convert xml data into binary data

How can i save xml data into binary field of data base tab开发者_开发百科le?


Do you need to reencode is as binary data? You should be able to save the XML data directly as raw data in the binary field. You'll have remember what character encoding you used when reloading the value if you're using a non-ascii character set.


For Java, you could convert XML to fast infoset. Glasfish has a subproject to do so.

Then it's just a matter of loading the result into a BLOB.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜