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

[xsl] exlt set.distinct.template.xsl ?


Subject: [xsl] exlt set.distinct.template.xsl ?
From: "Braumüller, Hans" <h.braumueller@xxxxxxxxxxxx>
Date: Thu, 14 Mar 2002 15:28:27 +0100

Hello,

regarding this template, it have not function first using it, with the
provided example.

Wondering if my intelligence is missing some fundamental understanding, i
take a look to how to do and second the template, which i call with the same
xml source and xsl stylesheet provided by
http://www.exslt.org/set/functions/distinct/index.html

Guided by my intuition, i change 
<xsl:template match="node()|@*" mode="set:distinct">
<xsl:copy-of select="." />
</xsl:template>

to 

<xsl:template match="node()|@*" mode="set:distinct">
  <xsl:value-of select="."/>
</xsl:template>

and Wow, it function´s

Is the failing product of the use of IE6 with MSXML 3 in replace mode or
what ?

If yes, must i adapt all the other named templates at http://www.exslt.org/
if i want to use it with IE6 / MSXML3? 

Can anyone please explain , the difference between   <xsl:value-of
select="."/> and <xsl:copy-of select="." /> ?

Thanks,


Hans Braumüller 
-- + -- 
Networking Artist
http://crosses.net
http://kunstserie.com

 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords