In C# is it possible to serialize empty string as nil value. Let's take the object like this:
var myBook = new Book(){ Author = "John S.", ISBN = null };
I'd like to have:
<Book>
<Author>John S.</Author>
<ISBN nil="true"/>
</Book>
Is it possible to achieve such a result with one of third party xml serializers like ExtendedXmlSerializer or YAXLib?
Regards.