chartserver.py
def csvLineToXmlValue(line):
	"""Converts a CSV line to an XML data point.
	@param line: CSV line containing x and y coordinates
	"""
	line = line.strip()
	coords = line.split(',')
	if (len(coords) >= 2):
		coords[0] = coords[0].strip("\" \t\r\n")
		coords[1] = coords[1].strip("\" \t\r\n")
		return "<value x='" + coords[0] + "' y='" + coords[1] + "' />"
	else:
		return ""
Converts a CSV line to an XML data point.
	@param line: CSV line containing x and y coordinates
	
Converts a CSV line to an XML data point.
Converts a CSV line to an XML data point .
def csvLineToXmlValue(line):
	line = line.strip()
	coords = line.split(',')
	if (len(coords) >= 2):
		coords[0] = coords[0].strip("\" \t\r\n")
		coords[1] = coords[1].strip("\" \t\r\n")
		return "<value x='" + coords[0] + "' y='" + coords[1] + "' />"
	else:
		return ""
def csvLineToXmlValue ( line ) : line = line . strip ( ) coords = line . split ( ',' ) if ( len ( coords ) >= 2 ) : coords [ 0 ] = coords [ 0 ] . strip ( "\" \t\r\n" ) coords [ 1 ] = coords [ 1 ] . strip ( "\" \t\r\n" ) return "<value x='" + coords [ 0 ] + "' y='" + coords [ 1 ] + "' />" else : return ""
Converts a CSV line to an XML data point.
Converts a CSV line to an XML data point .
"""Converts a CSV line to an XML data point.
	@param line: CSV line containing x and y coordinates
	"""
line
CSV line containing x and y coordinates
CSV line containing x and y coordinates