xml writer:  implemented list.