title: How to add element in XSD Schema that takes comma separated String values
body: <p>I am new in XML schema ...
  I have a xsd schema file :-</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.anirban.com/v1"
      xmlns:tns="http://www.anirban.com/v1" elementFormDefault="qualified"&gt;
  
      &lt;complexType name="InputRequest"&gt;
          &lt;sequence&gt;
              &lt;element name="Name" maxOccurs="unbounded" type="string"&gt;
              &lt;/element&gt;
              &lt;element name="Url" type="anyURI" maxOccurs="1" minOccurs="0"&gt;
              &lt;/element&gt;
  
              &lt;element name="Employee"&gt;
                  &lt;complexType&gt;
                      &lt;sequence&gt;
                          &lt;element name="VehicleList" maxOccurs="unbounded" type="string" /&gt;
                          &lt;element name="EmployeeName" type="string" default="Anirban" /&gt;
  
                      &lt;/sequence&gt;
                  &lt;/complexType&gt;
              &lt;/element&gt;
          &lt;/sequence&gt;
      &lt;/complexType&gt;
  
  
      &lt;complexType name="OutputResponse"&gt;
          &lt;sequence&gt;
              &lt;element name="ResponseCode" type="string"&gt;&lt;/element&gt;
          &lt;/sequence&gt;
      &lt;/complexType&gt;
  
      &lt;element name="getInputRequest" type="tns:InputRequest"&gt;&lt;/element&gt;
  
      &lt;element name="getOutputResponse" type="tns:OutputResponse"&gt;&lt;/element&gt;
  &lt;/schema&gt;
  </code></pre>
  
  <p>Which is used to create a SOAP Request like :-</p>
  
  <pre><code>&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://www.anirban.com/v1"&gt;
     &lt;soapenv:Header/&gt;
     &lt;soapenv:Body&gt;
        &lt;v1:getInputRequest&gt;
           &lt;!--1 or more repetitions:--&gt;
           &lt;v1:Name&gt;Abc&lt;/v1:Name&gt;
           &lt;v1:Name&gt;Efg&lt;/v1:Name&gt;
           &lt;!--Optional:--&gt;
           &lt;v1:Url&gt;http://localhost:8084/test?wsdl&lt;/v1:Url&gt;
           &lt;v1:Employee&gt;
              &lt;!--1 or more repetitions:--&gt;
              &lt;v1:VehicleList&gt;ee&lt;/v1:VehicleList&gt;
              &lt;v1:VehicleList&gt;ff&lt;/v1:VehicleList&gt;
              &lt;v1:EmployeeName&gt;Anirban&lt;/v1:EmployeeName&gt;
           &lt;/v1:Employee&gt;
        &lt;/v1:getInputRequest&gt;
     &lt;/soapenv:Body&gt;
  &lt;/soapenv:Envelope&gt;
  </code></pre>
  
  <p>Now my question is, I want to add an element in between like :-  <code>&lt;v1:Orders&gt;Ord1,Ord2,Ord3&lt;/v1:Orders&gt;</code> which will take String value with <strong>comma separated</strong> .. So how can I add the the <strong>element</strong> Orders in between ? Is it possible to add an element which will take <strong>comma separated String values</strong> in the sequence of <strong>complexType</strong> ??? Please help ...</p>