Hi Chistian,

In order to get some path to the element that is being processed I hoped that the following statement [ 1] would return a sequence of positions of each node amongst its siblings.

Unfortunately it only returns a bunch of: 1.

 

[ 1] $element/ancestor-or-self::* ! ./fn:position()

 

Should this work?

Is there some other ;-) clever way to retrieve a path to a random element that is being processed?

 

TIA for your reply,

 

Rob Stapper