xml input works