title: Converting json array to xml using XSLT
body: <p>i have a front end page that send a request to an data service deployed to wso2 console for doing an update in a table.
  The problem is that i need to convert the json array from the front end to an xml format for build the payload factory for the request.
  The json is : </p>
  
  <pre><code>{"cdcList":
  ["UpdateCdc":
      {
   "idCdc":1,
       "order":1,
       "cdcName":"test 1",
      },
   "UpdateCdc":
      {
       "idCdc":2,
   "order":2,
       "cdcName":"test 2",
       "idParent":1
      },
    "UpdateCdc":
      {
       "idCdc":3,
       "order":1,
       "cdcName":"test 3",
       "idParent":1
       }
  ]
  </code></pre>
  
  <p>} </p>
  
  <p>and the desired result in xml that i would like that it will be is :</p>
  
  <pre><code>&lt;cdcList&gt;
            &lt;UpdateCdc&gt;
          &lt;idCdc&gt;1&lt;/idCdc&gt;
          &lt;order&gt;1&lt;/order&gt;
              &lt;cdcName&gt;test 1&lt;/cdcName&gt;
            &lt;/UpdateCdc&gt;
            &lt;UpdateCdc&gt;
              &lt;idCdc&gt;2&lt;/idCdc&gt;
              &lt;order&gt;2&lt;/order&gt;
              &lt;cdcName&gt;test 2&lt;/cdcName&gt;
              &lt;idParent&gt;1&lt;/idParent&gt;
            &lt;/UpdateCdc&gt;
            &lt;UpdateCdc&gt;
              &lt;idCdc&gt;3&lt;/idCdc&gt;
              &lt;order&gt;3&lt;/order&gt;
              &lt;cdcName&gt;test 3&lt;/cdcName&gt;
              &lt;idParent&gt;1&lt;/idParent&gt;
            &lt;/UpdateCdc&gt;
  &lt;/cdcList&gt;
  </code></pre>
  
  <p>Thank you.</p>