Re: [xsl] Look ahead in xslt

Subject: Re: [xsl] Look ahead in xslt
From: Katharina Kreis <katharinakreis@xxxxxx>
Date: Fri, 21 Jan 2005 12:41:36 +0100
Hi!

You can use the following code to see if there exists a "college" tag in the "university" tag:

<xsl:if test="university/college">
   <xsl:value-of select="university/college/name"/>
</xsl:if>

Hope it helps
Katharina

Current Thread