Skip to Content
avatar image
Former Member

Syntax on using Joiner XML action in a transaction

I have two XMLs of same structure..n i need to combine them.

For e.g The XMLs have the following structure:

<Rowsets>

<Rowset>

<Row>

<Col1>Name</Col1>

<Col2>Location</Col2>

</Row>

<Row>

<Col1>Name</Col1>

<Col2>Location</Col2>

</Row>

</Rowset>

</Rowsets>

I need to combine the {Rowsets/Rowset/Row} elements of the second XML after the first XML's last {Rowsets/Rowset/Row} element. I think Joiner can be used. But unable to get thru the syntax. Any help is appreciated.

Thanks

Anamika

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 25, 2010 at 09:03 AM

    HI Anamika,

    You can use Union just configure Source Document 1 & 2 with your XML Inputs and take O/P of Union action.

    Regards,

    Manoj Bilthare

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      The issue has been resolved. Iam using a joiner. The problem was since my source and child XML passed as input to the Joiner was dynamically generated, it wasnt able to retrieve the XML structure at compile time. Hence the Source and Child columns were empty. I have harcoded the XML structure in local XML variables and passing those as input to the Joiner. That resolves the issue.