12 Replies Latest reply: May 15, 2013 2:21 AM by 1008996 RSS

    Issue in Conversion of String to XML (xsd) elements.

    878078
      Hi All,

      Please help in resolving the below issue.Please help me ASAP

      I am getting a strng value from Db adapter String= Mike,3453,USA
      I need to convert the data into xml by using below xsd.
      <?xml version="1.0" encoding='UTF-8' ?>
      <schema xmlns="http://www.w3.org/2001/XMLSchema"
      targetNamespace="http://www.uss.com/htr/IHCM204/MainRec"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      elementFormDefault="qualified"
      xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
      xmlns:tns="http://www.uss.com/htr/IHCM204/MainRec"
      attributeFormDefault="unqualified" nxsd:version="NXSD"
      nxsd:stream="chars" nxsd:encoding="US-ASCII">
      <element name="MainOutput">
      <complexType>
      <sequence>
      <element name="Target" maxOccurs="unbounded">
      <complexType>
      <sequence>
      <element name="name" type="string" nxsd:style="terminated" nxsd:terminatedBy="," />
      <element name="sal" type="string" nxsd:style="terminated" nxsd:terminatedBy="," />
      <element name="add" type="string" nxsd:style="terminated" nxsd:terminatedBy="," />
      </sequence>
      </complexType>
      </element>
      </sequence>
      </complexType>
      </element>
      </schema>


      Regards,
      Ana