|
Subject: [xsl] Walking the tree From: "Marcus Andersson" <marcan@xxxxxxx> Date: Thu, 14 Aug 2003 14:48:25 +0200 |
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] CDATA within a CDATA, Michael Kay | Thread | Re: [xsl] Walking the tree, David Carlisle |
| [xsl] CDATA within a CDATA, Eric Smith | Date | RE: [xsl] enclose output of transfo, Michael Kay |
| Month |