[thelist] xsl:if query (xml newbie)

John Dobson j.dobson at find-a-part.com
Fri Nov 21 09:19:27 CST 2003


If you have
 
<person>
<salary></salary> 
</person>
in which salary is either empty of not
is
 
<xsl:if test="person/salary">
£<xsl:value-of select="person/salary" />
</xsl:if>
 
the right way to check if it is empty or not, and then provide the salary with the £ sign in front?
 
AHA
 
John


More information about the thelist mailing list