Using nml instead of xml