Registering the layer.xml file