cancel
Showing results for 
Search instead for 
Did you mean: 

How to load DTD structure runtime in Mapping

Former Member
0 Kudos

Dear All,

I have Interface, used DTD as external definition and did mapping.

Customer said, there is one tag, that Tag name will be changed dynamically based on Ship type.

How to handle this in XI Mapping to not to fail mapping

Regards

Accepted Solutions (1)

Accepted Solutions (1)

aashish_sinha
Active Contributor
0 Kudos

Hi ,

If i understand you properly, then you want to create a target node based on condition Ship type..

If this is correct then try to use node function CreateIf, It is used when you want to create target node or element based on some condition.

Thanks

Aashish Sinha

Former Member
0 Kudos

Dear all,

We asked sender system to include both tags, so that any one can be populated and XI will handle it in Mapping based on existence of the TAG

Regards

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Few suggestions:

1) Create a custom adapter module and while parsing the xml handle that tag as per your requirement.

OR

2) If the Ship types are just of 2 or 3 types and interface is simple. Create a different interface for each ship type.

Regards,

Aravind