This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Conditional output for empty node value


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]