Click to See Complete Forum and Search --> : XSL: local-name of first and last node's parent


pjpark
November 30th, 2001, 01:58 PM
I need to no the name of the parent node of the first and last nodes in a for-each. something like local-name(MyNode[1]/parent::node())

and local-name(MyNode[position()=last()]/parent::node()).

Is there a way to do this. I can't seem to guess at the syntax for this one.