This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
XPATH expression, first child of node
- To: xsl-list at mulberrytech dot com
- Subject: XPATH expression, first child of node
- From: "xsl list" <xsl_list at hotmail dot com>
- Date: Wed, 30 Aug 2000 09:59:31 EDT
- Reply-To: xsl-list at mulberrytech dot com
In the xsl template I want to test if TR is the first TR child of TABLE or
the first TR decendent of the first child of TABLE that is not TLT. How
would I write such an expression?
In the below example, OTHER_TAG is optional and can be any tag.
<TABLE>
<TLT/>
<OTHER_TAG>
<TR/>
</OTHER_TAG>
<TR/>
</TABLE>
<xsl:template match="TR">
<xsl:if test="***EXPRESSION***"/>
</xsl:template>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list