This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
parent of child
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at MULBERRYTECH dot COM>
- Subject: parent of child
- From: Jo Kong HO <JoK at USWebCKS dot co dot uk>
- Date: Wed, 7 Jun 2000 16:44:35 +0100
- Reply-To: xsl-list at MULBERRYTECH dot COM
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