csvToXMCDA-alternativesValues

Version:1.0
Provider:PyXMCDA
SOAP service’s name:
 csvToXMCDA-alternativesValues-PyXMCDA (see SOAP requests for details)

Description

Transforms a file containing alternatives values from a comma-separated values (CSV) file to two XMCDA compliant files, containing the corresponding alternatives ids and their alternativesValues.

Contact: Sébastien Bigaret (sebastien.bigaret@telecom-bretagne.eu)

Web page: http://github.com/sbigaret/ws-PyXMCDA

Inputs

(For outputs, see below)

alternativesValues.csv

The alternatives and their alternatives values as a CSV file. The first line is made of two cells, the first one being empty, and the second one will be the content of the attribute “mcdaConcept” in the tag “<alternativesValues>”, if supplied.

Example:

,ranks
alt1,1
alt2,2.7
alt3,3

The input value should be a valid XMCDA document whose main tag is <other>.


Outputs

alternatives

The equivalent alternatives ids.

The returned value is a XMCDA document whose main tag is <alternatives>.


alternativesValues

The equivalent alternatives values.

The returned value is a XMCDA document whose main tag is <alternativesValues>.


messages

Status messages.

The returned value is a XMCDA document whose main tag is <methodMessages>.


Original xml description