Archive for May, 2009

20 May 2009

XML serialization ouput my way

Filled in: .NET, tags: ,

The default XML serialization adds the xml header and a couple of namespace definitions – elements which aren’t always welcome. Here’s how to control the XML source. Let’s start with a simple class called ‘Book’: Public Class Book Public Title As String = String.Empty Public Sub New() End Sub Public Sub New(ByVal title As String) [...]


About

Hey visitor. I'm a young (in the sense of "spirited") man living in Athens, Greece and I decided to setup this blog, in order to share my thoughts with you. Jump along and feel free to retort.

Contact

  1. (required)
  2. (valid email required)
  3. Captcha
 

cforms contact form by delicious:days

Stackoverflow