Added XMLMdAttributeFactory, it still needs some work.