[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: 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
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member