get the XPATH of the current node

I am always lost in my XML nodes. Here is something what I stole from xsl-list@mulberrytech.com mailing list.

Nice little loop with the ancestor-or-self axis to get current xpath: