xsl-list
[Top] [All Lists]

RE: check parent node

2003-04-28 23:34:11

<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(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


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



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