Skip to Content
avatar image
Former Member

Blank field from EDI-XML instance

Hi Folks,

I have this scenario where a blank field in EDI-XML instance is not shown in an EDI target field.

[EDI-XML]

S_N1

--

D_01 -> test01

D_02 ->

D_03 ->

[EDI]

N1+test01'

Desired output should be:

N1test01+'

Is it always the case that if the last node is blank, that field is not reflected in the target field (like having a blank field with a + sign)?

Any advise please?

Thanks a ton!

Regards,

Lex

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 26, 2008 at 05:57 PM

    Lex:

    As far as I know, In the XML format the space is not represented. The variable which has space as value is represented as <var></var> or <var/>. But you write the same XML file to a flat file then you will find the spaces on the file.

    Also try making the target field as Char instead of String or try to insert spaces in the Mapping itself..See how it goes

    Check the following for more info:

    rfctojdbc-scenario-i-want-put-two-space-characteri

    blank-fields-in-xml-message

    Edited by: Guru on Apr 26, 2008 1:01 PM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 27, 2008 at 11:48 AM

    Hi,

    If you are looking your result in Moni then you can not see the spaces. But If you are using FCC then see the text file there you can see the correct results.

    Regards,

    Sarvesh

    Add comment
    10|10000 characters needed characters exceeded