Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

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

878078May 14 2013 — edited Feb 26 2020
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 12 2013
Added on May 14 2013
12 comments
1,287 views