This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Conditional output for empty node value
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] Conditional output for empty node value
- From: amit jain <amit_j at usa dot net>
- Date: 5 Feb 2001 11:21:34 EST
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hello,
I have a basic problem I am using a xalan parser and not able to put a
condition for empty node in my xsl.
my xml is
<adressen>
<partner_adresse>
<partner_name>Test</partner_name>
<partner_zusatz/>
<partner_strasse>Testweg 13</partner_strasse>
<partner_plzort>8013 Test City</partner_plzort>
</partner_adresse>
<agent>
<agent_name>ABC Name</agent_name>
</agent>
<comp_korr_adresse>
<comp_korr_firma>asasd</comp_korr_firma>
<comp_korr_zusatz>asdasd</comp_korr_zusatz>
<comp_korr_strasse>aasd</comp_korr_strasse>
<comp_korr_plzort>adasdasd</comp_korr_plzort>
</comp_korr_adresse>
</adressen>
and i don't want to show
value of <partner_zusatz> in My HTML
Any help will be appreciated
Amit
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list