adding parse method for nsxml

Signed-off-by: Ondrej Rafaj <ondrej.rafaj@fuerteint.com>