Modified ncclient now with simple function that wraps XML