ToXML will not generate an empty node