xml2dcm: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/xml2dcm - from package: dcmtk

You may install the required package with command apt-get install {package}
Error in other languages:
xml2dcm: bevel nie gevind nie
xml2dcm: comandă negăsită
xml2dcm: comando não encontrado
xml2dcm: commande introuvable
xml2dcm: command not found
xml2dcm: käsku ei ole
xml2dcm: không tìm thấy lệnh
xml2dcm: komanda nerasta
xml2dcm: Kommando nicht gefunden.
xml2dcm: kommandot finns inte
xml2dcm: komut yok
xml2dcm: nie znaleziono polecenia
xml2dcm: níor aimsíodh an t-ordú
xml2dcm: no se encontró la orden
xml2dcm: no s'ha trobat l'ordre
xml2dcm: opdracht niet gevonden
xml2dcm: parancs nem található
xml2dcm: perintah tidak ditemukan
xml2dcm: príkaz nenájdený
xml2dcm: příkaz nenalezen
xml2dcm: команда не найдена
xml2dcm: командата не е открита
xml2dcm: 命令找不到
xml2dcm: コマンドが見つかりません