This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ../name()?


Diamond, Jason wrote:


> 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>

name(..)

;-)

Regards,
Nikolai


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]