Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing the line if empty
Message
From
24/06/2006 21:34:56
 
 
To
All
General information
Forum:
ASP.NET
Category:
XML
Title:
Removing the line if empty
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01131455
Message ID:
01131455
Views:
69
In this stylesheet, in the line for the 2nd part of the address, I would like to remove that line if the address2 is empty.
            <w:p>
              <w:r>
                <w:t><xsl:value-of select="address2" /></w:t>
              </w:r>
            </w:p>                        
The reason for this is that this is part of an address shown on an enveloppe. So, I don't want to have a blank line in Word before I print if address2 is empty. Anyone would know how to accomplish that?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform