Alias' for realtype definitions

Dec 26, 2012 at 10:33 PM

First off, YAXLib is awesome. Now for my question...

Is there a way to provide an alias for the full type names that are used? For example, instead of this:

yaxlib:realtype="ABCCompany.Models.Components.Label"

I can decorate a class with an attribute like [TypeAlias("Label")] which associates "Label" to "ABCCompany.Models.Components.Label", which would make the XML look cleaner:

yaxlib:realtype="Label"

Even better, since element begins with "<Label ..." anyways, deduce the type without having a realtype definition?

Thanks!