Thanks for the suggestions, Jay it worked out very well. Michael, I
get an error when replacing:
<xsl:variable name="namelist" select="//*[not(name() =
following::*/name())]"/>
with
<xsl:variable name="namelist"
select="distinct-values(//*/node-name())"/>
What error do you get?
Michael Kay
http://www.saxonica.com/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--