BI Publisher (MOSC)

MOSC Banner

insert Carriage return/linefeed in XML 5.6

edited Jan 8, 2013 11:53AM in BI Publisher (MOSC) 4 commentsAnswered
We are in 11.5.10.2  so we are using XML 5.6.  How to add a carriage return when the variable has data in it.  below is my example.

My template is required to show customer addresses.  customer addresses can be long or short.  In 11.5.10.2, address is being split into multi-columns

Here are few sample of my the XML output file
<customer>ABC</customer>
<address1>123 Main street</address1>
<address2>RM 120</address2>
<address3> </address3>
<city>Seattle</city>

<customer>XYZ</customer>
<address1>1 fourth street</address1>
<address2></address2>                         -- address1, address2, address3 can be NULL
<address3></address3>
<city>New York</city>

I like to able to print the output like this

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