[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Formatting multi-line address block to skip blank line

Subject: Formatting multi-line address block to skip blank lines in address
From: "Jerry Johns" <JJohns@xxxxxxxxxxxxx>
Date: Mon, 6 Jun 2005 14:52:36 -0400
5 line address
I have a 5 line address on a form. The 5 lines are:

Name
Add1
Add2
Add3
Location

I originally put these fields into separate text blocks; however, many
recipients don't have 3 address lines. Most have only 1, but I have to
accomodate more, if they are available.

Is there a way to combine all of these fields into a single text block
so that:

a) each field is on a separate line
b) if one of the fields is blank, then it is skipped

Example:
In this example, Add2 and Add3 have no data. The output would look like:

Name
Add1
Location

Thanks!!!
Jerry


Jerry L. Johns
Allied Business Systems, LLC

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.