Quantcast
Channel: SCN : All Content - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 4013

Issue with XML Target Nodes...

$
0
0

Hi Experts,

 

I am in a process of generating XML files through BODS..when I tries to generate xml target files am getting output as below

 

<query>

      <Node1>

            <GeneratedDate>2015/11/05</GeneratedDate>

       </Node1>

               <Node2>

                      <ID>2526</ID>

                        <Name>ABC</Name>

                </Node2>

                           <Node3>

                                     <dEPT>10</dEPT>

                                     <Sal>5000</Sal>

                            </Node3>

 

 

        <Node1>

                <GeneratedDate>2015/11/05</GeneratedDate>

         </Node1>

                    <Node2>

                           <ID>4545</ID>

                           <Name>pqr</Name>

                    </Node2>

                           <Node3>

                                <dEPT757</dEPT>

                                <Sal>7000</Sal>

                             </Node3>

</Query>

 

As of now am getting is ok for me....But here issue starts..

 

I was given a requirement like Node1 should not repete all the time..It shot occur only on 1st hierarchy as below

 

<query>

      <Node1>

            <GeneratedDate>2015/11/05</GeneratedDate>

       </Node1>

               <Node2>

                      <ID>2526</ID>

                        <Name>ABC</Name>

                </Node2>

                           <Node3>

                                     <dEPT>10</dEPT>

                                     <Sal>5000</Sal>

                            </Node3>

                    <Node2>

                           <ID>4545</ID>

                           <Name>pqr</Name>

                    </Node2>

                           <Node3>

                                <dEPT757</dEPT>

                                <Sal>7000</Sal>

                             </Node3>

</Query>

 

 

Please help me is very urgent..

 

Thanks for you support

 

Regards,

Abhi


Viewing all articles
Browse latest Browse all 4013

Trending Articles



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