Skip to Content

How to add a comment in payload ??

Hi All,

How to add a comment in message payload ??

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

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

<!-- This contains MVJ control data -->

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

<!-- imct.dtd is used here -->

<dcsextractdata extractname="">

<dataheaders>

<dataheader>

<record_type datatype="123" />

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

<code>FK</code>

</dataheader>

</dataheaders>

</dcsextractdata>

Thanks in Advance

Regards,

Chemmanz

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 Mar 06, 2007 at 12:07 PM

    Hi,

    Are you usign content conversion .

    If yes we can do with FCC.

    Else which type of Adapter you are using ..

    I hope .. export into XSD and change and take it import under the external definitions , later that can be used.

    ..

    Can you please tell , if i am wrong.

    Regards

    Chilla..

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 06, 2007 at 12:09 PM

    hi,

    you can easily do it with XSLT mapping

    which you can either put just after you mapping (inside interface mapping)

    or inside an adapter module (all in standard)

    Regards,

    michal

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 06, 2007 at 12:11 PM

    you can use XSLT mapping or JAVA mapping

    Message was edited by:

    Sreeram Reddy

    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.