[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

xsl-list question

Subject: xsl-list question
From: Joseph Tak Kin Tam <JTam@xxxxxxxxxxxx>
Date: Wed, 26 Apr 2000 08:18:03 -0400
kin tam
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.