Can anyone recommend a .Net XML Serialization library?

Posted by James on Stack Overflow See other posts from Stack Overflow or by James
Published on 2010-05-18T18:34:21Z Indexed on 2010/05/18 18:50 UTC
Read the original article Hit count: 229

Filed under:
|
|

Can anyone recommend a .Net XML Serialization library (ideally open source).

I am looking for a robust XML serialization library that I can throw any object at, which will produce a human readable XML representation of the public properties for logging purposes.

  • I never need to be able to deserialize.
  • XmlSerializer's requirement of an object having a parameter constructor is too restrictive for what I want.
  • DataContractSerializer does not give enough control over the output (which is not particularly human-readable).

Any recommendations appreciated!

Thanks

© Stack Overflow or respective owner

Related posts about .NET

Related posts about logging