[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Getting a specific element count from a generic match


Subject: RE: [xsl] Getting a specific element count from a generic match
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 7 Apr 2006 23:24:46 +0100

> 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/


Current Thread