cancel
Showing results for 
Search instead for 
Did you mean: 

Creating the Elements with the Same Name

Former Member
0 Kudos

Hi

I have XML to IDOC Scenario

where my struture is

<ROW EVENT="RE" SEQ="9" MORE="Y" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >

<FileDate Internal="61409" ROWID="Y">02/17/2009</FileDate>

<FileSeq ROWID="Y">9</FileSeq>

<Event>RE</Event>

<ROW DESCR="RE" TABLE="PAT" EVENT="RE">

<BusTel/>

<BusTelHipaaConsent/>

<Cont1Addr1/>

<ROW DESCR="RE" TABLE="INS" EVENT="RE">

<DictRef1/>

<DictRef10/>

Under the ROW i have multiple ROW with different DESCR .. is this Possible to create the Subnodes with same name under parent node

SV

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi SV,

Yes, you can create a sub node with the same name with the parent node, even though it's a bit uncommon to have that situation.

Regards,

Lim...

Former Member
0 Kudos

Hi Lim

Can i create the Following Struture

DEMO

TEST

NAEM1

TEST

NAME2

Both TEST have Different Struture .. and has one parent node DEMO ..

under DEMO need TWO Child Nodes with same name with Diff fields as mentioned above

Former Member
0 Kudos

Dear RV,

PI doen't accept such Data type creation. It will only let you create single unique Element under one parent. And you can specify what ever qualifiers that should possess by the unique element.

Taking your example:

DEMO

TEST //Sinlge Unique Element under parent

NAME // Subelement under TEST

< add multiple qualifier elements that supports TEST >

But it will accept TEST under Name.

Best Regards

Praveen

Former Member
0 Kudos

Hi,

You need to define your data type with fields like

Row with occurance as 1 to unlimited if it is mandatory field and 0 to unlimited if it is a optional field.

and then define the rest of the fields and when you ptovide the test data you can send multiple entries of row.

Regards,

Nithiyanandam