XML loader loads resource