cancel
Showing results for 
Search instead for 
Did you mean: 

How to add a DTD Reference to the payload ??

arunneerolil
Contributor
0 Kudos

Hi All,

How to add a DTD Reference to the payload using graphical mapping ??

For eg:

Current Output

============

<?xml version="1.0" encoding="UTF-8" ?>

<dcsextractdata extractname="">

<dataheaders>

<dataheader>

<record_type datatype="123" />

<action datatype="CHAR">E</action>

<code>FK</code>

</dataheader>

</dataheaders>

</dcsextractdata>

Required Output

============

<?xml version="1.0" encoding="UTF-8" ?>

<b><!DOCTYPE dcsextractdata SYSTEM "../lib/ftgppl.dtd"></b>

<dcsextractdata extractname="">

<dataheaders>

<dataheader>

<record_type datatype="123" />

<action datatype="CHAR">E</action>

<code>FK</code>

</dataheader>

</dataheaders>

</dcsextractdata>

Thanks in Advance

Regards,

Chemmanz

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Chemmanz,

your req of adding DTD ref cant be achieved by graphical mapping.......

you can achieve your this req by making a J2EE adapter module and then deploying it in XI and then calling this module in your recever file comm channel...

Thanks,

Rajeev Gupta

Former Member
0 Kudos

Hi Chemmanz,

just create a Tag with attributes in your target message-type.

In graphical mapping add constants to this element/attributes.

But: XI will not validate the payload against this DTD!

Regards

arunneerolil
Contributor
0 Kudos

Hi Mario Müller ,

just create a Tag with attributes in your target message-type ??

can u please explain the same.

Rgds

Chemmanz

Former Member
0 Kudos

Chemmanz,

what he means say is that you need to create an attribute for frist field in the target mapping then for attribute assign te constant which your dtd ref . But i duobt this can be done