Dear Iuri,
the errors you are reporting complain about the lack of ns_xml. Such module is likely not present on your naviserver, and, I fear, on every naviserver around.
From what I am understanding, ns_xml was a module for xml parsing required before the advent of tdom. Therefore, I fear another task required for you to get this package working again is to refactor the code so calls to ns_xml get replaced by tdom idioms. There is no magic parameter for such thing.
Please have a look at my reply on your previous post, as I am really interested in an answer about -why- you need to embark on this non trivial task. If XML-RPC is not a constraint for you, maybe better alternatives are available.
All the best
Antonio