Support XMLNode#print compact-mode