As we have talked about this so far, one can edit the domain.xml directly, but not while the server is running. Generally, some tool front end will be dealing with the model and writing the result back out as the domain.xml. It is not an implementation detail, but an authoritative view of the domain metadata model.