RE: [xsl] check parent node

Subject: RE: [xsl] check parent node
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Tue, 29 Apr 2003 07:34:11 +0100
> 
> <xsl template match="row">
> 	how do I check if the row is a child of column ? </xsl:template>
> 

<xsl:if test="parent::column">

Or define a separate template rules for rows inside a column:

<xsl:template match="column/row">

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread