XmlTransformer and nullable type

Hi,

if I write properties from nullable types to xml, I get something like

Description=“null”

I would like to skip reading/writing those attributes if they are null.
I tried subclassing GoXmlTransformer, but did not find a way to influence specific data types, only objects.

Can you please give me some advice?

Thanks in advance,
Fridid

Ok, I misunderstood…
In Generate-/ConsumeAttributes I have to handle all my nodes properties and so I can take care for those that are nullable.

But I was wondering how enum types are transformed… getting a string and converting it back into the enum… Tongue

Right, you’ve got it. The type transformations happen at too low a level in the code for you to change them in an override.
We just use the .NET support for converting enums.