simple xml printer implemented
null parsing