../name()?

Subject: ../name()?
From: "Diamond, Jason" <Jason.Diamond@xxxxxxx>
Date: Thu, 22 Jun 2000 17:01:51 -0500
Hi. Is there a better way to get the name of an node's parent then the
following? This works but seems awkward.

<xsl:for-each select='..'><xsl:value-of select='name()'/></xsl:for-each>

Thanks for any tips in the right direction.

Jason Diamond.


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


Current Thread