John,
I think you can do t5his right in the Xlate without using Tcl.
I am en route back from the User conference. If you want to discuss this when I return Monday 10/24/2005, email me at chiliman@comcast.net with your telephone number – we can chat.
Jim Kosloskey
email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.