xsl-list
[Top] [All Lists]

Walking the tree

2003-08-14 05:48:25
Hi

I have this parameter called "the-node". I want to make a choice based on 
wheter "the-node"'s parent is the last child to it's parent ("the-node"'s 
grandparent). How do I do this (if you understand the question)? 

<xsl:template name="theTemplate">
 <xsl:param name="the-node"/>
 <xsl:choose>
  <xsl:when test="[what shall I put here???]">
   ...
  </xsl:when>
  <xsl:otherwise>...</xsl:otherwise>
 </xsl:choose>
</xsl:template>

Thnx

/Marcus

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



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