XML for Multiple Options of an Multiselect Pick List

XML for Multiple Options of an Multiselect Pick List

Trying to get the XML right using the API.

The XML code itself is:

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Contacts>
  3.     <row no="1">
  4.         <FL val="First Name">'.$firstName.'</FL>
  5.         <FL val="Last Name">'.$lastName.'</FL>
  6.         <FL val="Account Name">'.$organization.'</FL>
  7.         <FL val="Email">'.$email.'</FL>
  8.         <FL val="Mailing Street">'.$address.'</FL>
  9.         <FL val="Mailing City">'.$city.'</FL>
  10.         <FL val="Mailing State">'.$state.'</FL>
  11.         <FL val="Mailing Code">'.$code.'</FL>
  12.         <FL val="Mailing Country">'.$country.'</FL>
  13.         <FL val="Persona">'.$persona.'</FL>
  14.         <FL val="Description">'.$altPersona.'</FL>
  15.         <FL val="Use Case">'.$useCase.'</FL>
  16.     </row>
  17. </Contacts>'
The Use Case value can have multiple values as it corresponds to a Multiselect Pick List in the contacts.

The raw input from the form comes in as comma separted values, for instance:

Interactive whiteboard, Lecturing in a classroom

If that is put in the XML it doesn't map properly.

What would be the proper syntax to select both of those options?