xsl-list
[Top] [All Lists]

Re: Look ahead in xslt

2005-01-21 04:41:36
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




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>