PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

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.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center