Make it possible to use discriminator column as XML attribute.