Quantcast
Channel: SCN : Popular Discussions - SAP SQL Anywhere
Viewing all articles
Browse latest Browse all 1302

XML Parsing

$
0
0

Hello All,

 

Below is XML which I want to parse to get data back to table format. The only challenge is, I have multiple Indicators tags, so basically, I need output as below.

 

TranIdRefTranIdClientTranidabcrug_idpa_requiredpredicatedrationaleauto_start
56542fcd786ee88a178b456956542fcf786ee88a178b456b75,761212falsefalsefalse
56542fcd786ee88a178b456956542fcf786ee88a178b456b75,761234123456falsefalsefalse


<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://localhost/">

   <SOAP-ENV:Body>

      <ns1:isPARequiredResponse>

         <TranId>56542fcd786ee88a178b4569</TranId>

         <RefTranId>56542fcf786ee88a178b456b</RefTranId>

         <ClientTranId>75,76</ClientTranId>

         <Indicators>

            <abc>12</abc>

            <rug_id>12</rug_id>

            <pa_required>false</pa_required>

            <predicted>false</predicted>

            <rationale />

            <auto_start>false</auto_start>

         </Indicators>

         <Indicators>

            <abc>1234</abc>

            <rug_id>123456</rug_id>

            <pa_required>false</pa_required>

            <predicted>false</predicted>

            <rationale />

            <auto_start>false</auto_start>

         </Indicators>        

      </ns1:isPARequiredResponse>

   </SOAP-ENV:Body>

</SOAP-ENV:Envelope>

 

Thanks in advance...


Viewing all articles
Browse latest Browse all 1302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>