Revert "nsxml coverters subfunctions"

This reverts commit 0b45eb5a893792aa92604458cd7e19b004dd5bf7.