Subject: RE: [xsl] String comparison From: Jarno.Elovirta@xxxxxxxxx Date: Wed, 4 Sep 2002 08:58:09 +0300 |
Hi, [snip] > <?xml version="1.0"?> > <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"> This is not XSLT 1.0 namespace - if you want support for Microsoft's looks-like-xslt-but-is-not language, you should contact their support. [snip] > <xsl:for-each select="//TOPICS[TOPIC]"> [snip] > <xsl:for-each select="//TOPICS[TOPIC]"> An expression like that it slow, especially when you select it twice, so you should consider rewriting your stylesheet to not use //. Was this what you wanted from the conditional section? <A href="{URL}"> <xsl:attribute name="target"> <xsl:choose> <when test="starts-with(URL, 'http://')">_top</xsl:when> <xsl:otherwise>ESRCanvas</xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:value-of select="TITLE" /> </A> Cheers, Jarno XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] String comparison, David Carlisle | Thread | RE: [xsl] String comparison, Dineen, Geoffrey |
[xsl] String comparison, Dineen, Geoffrey | Date | [xsl] deep "copy-of" a source fragm, Terence Kearns |
Month |