cancel
Showing results for 
Search instead for 
Did you mean: 

Blank field from EDI-XML instance

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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:

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

Answers (1)

Answers (1)

Former Member
0 Kudos

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