Right, currently the xmlValue tag happens to only be set for scalar values.. but maybe I should check anyway, in case it changes.