parent of child

Subject: parent of child
From: Jo Kong HO <JoK@xxxxxxxxxxxxxx>
Date: Wed, 7 Jun 2000 16:44:35 +0100
How can I find out the parent of a select child from XSL?

for example, I have the following XML :

	<a>Test</a>
		<b>Test2</b>
		<b2>Test3</b2>
	</a>

if in my code user selected node <b>, how can i detect the parent of <b>;
which in this case is node <a>?.  Basicly i want to change the display of
<a> when someone select <b>

many thanks
joe


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


Current Thread