Changes

Jump to navigation Jump to search
8 bytes added ,  11:08, 18 October 2013
CSV is converted to XML as follows:
# The resulting XML document has a {{Code|<csv>}} root element.# Rows are represented via {{Code|<record>}} elements.# Fields are represented via {{Code|<entry>}} elements. The value of a field is represented as text node.# If the {{Code|header}} option is set to {{Code|true}}, the first text line is parsed as table header, and the {{Code|<entry>}} elements are replaced with the field names:
## Empty names are represented by a single underscore ({{Code|_}}), and characters that are not valid in element names are replaced with underscores.
## If the {{Code|lax}} option is set to {{Code|false}}, invalid characters will be rewritten to an underscore and the character’s four-digit Unicode, and underscores will be represented as two underscores ({{Code|__}}). The resulting element names may be less readable, but can always be converted back to the original field names.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu