Subject: xsl-list question
From: Joseph Tak Kin Tam <JTam@xxxxxxxxxxxx>
Date: Wed, 26 Apr 2000 08:18:03 -0400
|
I was offered a solution from a previous problem but I can't seem to get it
to work in IE5, I am guessing that it is using some unsupported commands,
can somebody confirm?
Here's the solution:
<xsl:template match="/">
<HTML>
<BODY>
<xsl:for-each select="Table/Partner//Type[not(. = following::Type)]
| Table/Partner//Division[not(. = following::Division)] |
Table/Partner//ChannelRep[not(. = following::ChannelRep)]">
<UL><xsl:value-of select="Type"/>
<UL><xsl:value-of select="Division"/>
<UL><xsl:value-of select="."/>
<xsl:for-each
select="//Partner[ChannelRep=current()]">
<UL><A>
<xsl:attribute
name="href">http://W1116207/channel/echo.asp?value=<xsl:value-of
select="Name"/>
</xsl:attribute>
<xsl:attribute
name="target">view</xsl:attribute>
<xsl:value-of select="Name"/>
</A></UL>
</xsl:for-each>
</UL>
</UL>
</UL>
</xsl:for-each>
</BODY>
</HTML>
</xsl:template>
IE5 doesn't like the :: and the current() lines.. what can I do?
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|