Preserving leading spaces of Fields in File Layout Definition of type XML
I have a file layout definition I am using to export data from the CLASS_TBL as XML and it has come to my attention that the leading space on the catalog_nbr is being stripped in the file so that instead of getting:
<CATALOG_NBR> 392-1</CATALOG_NBR>
I get:
<CATALOG_NBR>392-1</CATALOG_NBR>
I see that I can call each indivdual field and then use CDATA to preserve the leading space, but there are 101 fields in the class_tbl.
I also see that there is an attribute named xml:space where you can set the property to preserve (What You Need to Know About Whitespace in XML), but I can't figure out how to manipulate the File Layout Definition to take advantage of this attribute.