Skip to Content
author's profile photo Former Member
Former Member

Issue with XML Target Nodes...

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 11, 2015 at 05:20 PM

    Hi All,

    Can any one help me on above?????

    Regards,

    Abhi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 11, 2015 at 05:27 PM

    Hello

    Modify the where clause for the node1 nested table, it is probably mapped to the wrong source (often a row generation is used to fix a node to a single instance).

    This is a key principle when working with with NRDM, mapping the nested tables to the correct source.

    Michael

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 12, 2015 at 05:14 AM

    Hi All,

    Any suggestion for the above request.

    Abhi

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.