Subject: Re: [xsl] Halt rendering of nodes based on node id!!|
From: "Joris Gillis" <roac@xxxxxxxxxx>
Date: Thu, 17 Feb 2005 23:15:02 +0100
Given the following xml/xsl files:
How do I stop stylesheet rendering or exclude nodes from rendering once a
particular nodes children are rendered. Ie: If the current node selected is node with id(10); it, its ancestors and its children are displayed. However, the children of its children(12,13) are not rendered.
The modification I believe will need to occur here: <xsl:apply-templates select="//tree_node[parent::tree or ancestor::tree_node[@id=$id]]"/>