So we should check if `data` is empty, return the empty tag if so, and read in the XML otherwise?