XML is often used for configuration, and in this case there are some other simple storage formats that are often used (less document oriented):
- .property files
- INI files
There's various ways for reading and writing both, depending on platform and language.