Skip to Content
0
Former Member
Jan 19, 2006 at 02:17 PM

Trailing spaces problem during file content conversion

575 Views

I have developed a proxy to file scenario.And am using file content conversion for creating the file. The file is to be a fixed length file.

File Structure

<Header>

<Item>

<Item Trailer>

<File Trailer>

Each tab in the file has the last character mapped to spaces.

Eg: Header00000001 2006011700000000020060<blank space>

Item00000001 2006011700000000020060<blank space>

The problem is that during file content conversion. XI does not preserve trailing spaces at the end of the line i.e.if a particular line in the file ends with space. It terminates the line at the last non-space character (in this case at 060).

However we are required to maintain these trailing spaces at the end of each line.

I have tried preserve white space in data type that does not work.

I know that xslt mapping may solve the problem but I am looking for a workaround with my current graphical mapping.

Looking for suggestions !!

Thanks,

Rashida