Use locale-independent strtod.
Added functions to read comma-separated floating-point values from XML attributes.