Hi,
I am trying to convert json array to an xml using script mediator,in which
I am using
</script>
<![CDATA[
*for(var i=0;i
<parametersArray.length;i++){
Parameters += "<sub1:Parameters>"; Parameters += "
<sub:Id>"+parametersArray[i].Id+"</sub:Id>";
Parameters += "
<sub:Value>"+parametersArray[i].Value</sub:Value>";
Parameters += " </sub1:Parameters>"; } *
</script>
]]>
However, in the XML we get "<" instead of "<". How can overcome this
issue ??
Thanks
--
*Best Regards,Nisala Niroshana Nanayakkara,*
*Bsc. Eng Undergraduate | Department of Computer Science & Engineering |
University of Moratuwa | Sri Lanka*
*Intern Software Engineer | WSO2 Lanka(pvt) Ltd *
*Director | Leo Club of University of Moratuwa.*
*Mobile | +94717600022*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev