Systemd was modelled after launchd, which is a process manager in macOS. It has nothing to do with Windows.

Launchd uses XML to describe unit files (actually, it uses plists which can be binary, but most of the files are stored in xml).