开发者

.NET Binary XML

开发者 https://www.devze.com 2023-02-18 03:14 出处:网络
How does .NET\'s Binary XML work? There\'s some documentation on it at http://msdn.microsoft.com/en-us/library/cc219210.aspx, but it doesn\'t say how to make it. There isn\'t even an example of the o

How does .NET's Binary XML work?

There's some documentation on it at http://msdn.microsoft.com/en-us/library/cc219210.aspx, but it doesn't say how to make it. There isn't even an example of the output. I'm guessing anything related to binary xml would be in System.Xml, but I can't find anything.

Also, my searches for binary xml have led me to XmlDictionaryWriter, which apparently can write "binary XML format", but it doesn't even exist in System.Xml!

My goal is to possibly serialize my data in binary xml (right now I'm using Xm开发者_如何学编程lSerializer, which writes standard, human-readable xml).

Can anyone give me an example of how to serialize to binary xml or even just write binary xml?


XmlDictionaryWriter is in System.Runtime.Serialization which you need to add as a reference first.

0

精彩评论

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