Subject:preserving white space in XML conversion Author:Mike Lucas Date:28 Apr 2009 08:31 AM
I created a conversion file to create an XML file from a non-delimited flat file, and need to preserve all whitespace outside and inside the value. I already went to Tools – Options – Editor General and checked "Preserve trailing/leading whitespace", but that does not save any whitespace. Is there a special tag or setting I can use to do this? If need be, I can delimit the file.
Subject:preserving white space in XML conversion Author:Tony Lavinio Date:13 May 2009 09:04 AM
By default, the elements have several properties set that will reduce
white space. Get rid of anything that trims white space, and then also
set 'normalize spaces' to false for the fields you care about.
Subject:preserving white space in XML conversion Author:Mike Lucas Date:13 May 2009 10:29 AM
Thanks for replying Tony. I see the normalized spaces property has to be changed per field, but it does not affect the spaces before or after a field. Do you know what other properties trim white space? I do not see any others that affect white space.
Thanks,
Michael
>By default, the elements have
>several properties set that
>will reduce
>white space. Get rid of
>anything that trims white
>space, and then also
>set 'normalize spaces' to
>false for the fields you care
>about.