IoC'd XMLDocument class