Changed implementation to make use of tDOM's createNodeCmd.

Signed-off-by: Matthias Kraft <M.Kraft@gmx.com>