This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

xsl-list question


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]