slice in xml struct does not need to be a slice of ptr
add glog requirement