The three classes above are largely identical.

In a piece of code which attempts to rationalise styles, I find I'm having to write 3 identical functions differing only in the type of the paramter passed in.

From what I can see these items share a common inheritence in the xsd but not in the c# hiearchy.

Is there any way to minimise this redundancy and / or am I just missing a point here?!

Iain