chartserver.py
def csvToXmlData(infiles,outfile):
	"""Converts one or more CSV input files to a single XML data file.
	@param infiles: List of CSV input files
	@param outfile: File to write XML output to. Should be empty.
	"""
	outfile.write("<?xml version='1.0' encoding='UTF-8' ?>")
	outfile.write("<data>")
	i = 1
	for infile in infiles:
		outfile.write("<set id='set" + str(i) + "'>")
		i += 1
		for line in infile:
			outfile.write(csvLineToXmlValue(line))
		outfile.write("</set>")
	outfile.write("</data>")
Converts one or more CSV input files to a single XML data file.
	@param infiles: List of CSV input files
	@param outfile: File to write XML output to. Should be empty.
	
Converts one or more CSV input files to a single XML data file.
Converts one or more CSV input files to a single XML data file .
def csvToXmlData(infiles,outfile):
	outfile.write("<?xml version='1.0' encoding='UTF-8' ?>")
	outfile.write("<data>")
	i = 1
	for infile in infiles:
		outfile.write("<set id='set" + str(i) + "'>")
		i += 1
		for line in infile:
			outfile.write(csvLineToXmlValue(line))
		outfile.write("</set>")
	outfile.write("</data>")
def csvToXmlData ( infiles , outfile ) : outfile . write ( "<?xml version='1.0' encoding='UTF-8' ?>" ) outfile . write ( "<data>" ) i = 1 for infile in infiles : outfile . write ( "<set id='set" + str ( i ) + "'>" ) i += 1 for line in infile : outfile . write ( csvLineToXmlValue ( line ) ) outfile . write ( "</set>" ) outfile . write ( "</data>" )
Converts one or more CSV input files to a single XML data file.
Converts one or more CSV input files to a single XML data file .
"""Converts one or more CSV input files to a single XML data file.
	@param infiles: List of CSV input files
	@param outfile: File to write XML output to. Should be empty.
	"""
infiles
List of CSV input files
List of CSV input files
outfile
File to write XML output to. Should be empty.
File to write XML output to . Should be empty .