Each data line becomes a <row> inside a <rows> root, with one child element per column named after the header (characters that are not allowed in XML names are replaced with underscores) and the cell text escaped. id name / 1 Ada produces <row><id>1</id><name>Ada</name></row>.