This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Fwd: XSL question
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Fwd: XSL question
- From: Edmund Mitchell <EMitchell at fnf dot com>
- Date: Mon, 19 Mar 2001 11:33:45 -0800
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hello Tony
-----Original Message-----
From: Tony Felik <tony.felik@extent.com>
How can I handle two empty tags?
for example:
<xsl:if test="Invoicing/Customer/state[.!=''] and
Invoicing/Customer/country[.!='']">
It depends what you want to do with them. You can say:
<xsl:if test="string(Invoicing/Customer/state) and
string(Invoicing/Customer/country)">
<!-- this part gets executed only if both -->
<!-- elements are non-empty-->
</xsl:if>
Does that answer your question?
Edmund
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list