Subject: RE: xsl-list question From: Jonathan Marsh <jmarsh@xxxxxxxxxxxxx> Date: Wed, 26 Apr 2000 11:07:40 -0700 |
In the namespace http://www.w3.org/TR/WD-xsl, you can use context() instead of current(), but there is not equivalent to the following:: axis, so at the very least a major logic revision is necessary. I suspect it will prove impossible to do. XSLT has much more functionality than IE5 XSL, and it is not always possible to down-translate stylesheets. - Jonathan Marsh Microsoft > -----Original Message----- > From: Joseph Tak Kin Tam [mailto:JTam@xxxxxxxxxxxx] > Sent: Wednesday, April 26, 2000 5:18 AM > To: 'xsl-list@xxxxxxxxxxxxxxxx' > Subject: 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 > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: xsl-list question, Selva, Francis | Thread | Selecting Bits, Dumping the Rest, John Robert Gardner |
RE: Displaying every 2 element valu, Selva, Francis | Date | RE: display in a recursive way, Jonathan Marsh |
Month |