Thanks, Dmitre and Steve, for your helpful suggestions. Based on David Carlisle's response, I may decide to use an attribute after all (which can be easily defaulted). Regards, Lars XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list