XML skins can be loaded as resources

This is mainly to be able to better test the (non-functioning) html5
target. There is still the XSS loading issue in html5 however.