cscan: restore some xml behaviour