I have the following configuration:
container.AddFacility<TypedFactoryFacility>()
.Register(Component.For<IMyFactory>()
.AsFactory(c => c.SelectedWith(new MyFactoryComponentSelector())));
The problem is that I need to configure it with xml. Is there an equivalent xml configuration?
No there isn't. Why do that via xml? Why expose implementation details of your application to the outside world?