Generating IDs for each element

Subject: Generating IDs for each element
From: Malcolm Locke <malcolm.locke@xxxxxxxxxxxx>
Date: Mon, 4 Sep 2000 17:37:58 +0100
OK, my appologies first off if this has been done before, but here goes..

I want to be able to generate a unique ID for each element that I will then
be able to access in another parse invocation.  For example, translate the

	<para>Para one</para>
	<para>Para two</para>
	<para>Para three</para>
	<para>Para four</para>


	<p>Para one</p><a href="edit.xml?element_ID={???}">[edit]</a>
	<p>Para two</p><a href="edit.xml?element_ID={???}">[edit]</a>

This must work across invocations, so I can guarantee the ID will be the same
next time I call it.  I want to be able to do this for any element. Is there a 
way to get the position of the current element in the context of the _whole_ 


 XSL-List info and archive:

Current Thread