[xsl] if condition

Subject: [xsl] if condition
From: "Bhaskar, Rajan" <RBhaskar@xxxxxxx>
Date: Wed, 9 Mar 2005 16:15:43 -0500
Hi,
 How can i do a if condition in XSLT when a particular attribute/element
in xml is not present and else with a default string

<customer name="xy" age="30">

say incase age is not present. i want to replace with "unknown"
<customer name="xy" age="unknown">

Current Thread