xsl-list
[Top] [All Lists]

RE: embedding xsl within javascript

2004-07-29 16:02:19
after I posted I guessed the same thing but it doesn't work...

sorry forgot to mention this also which sits above the aforementioned
(prob doesn't make a difference)

----
<xsl:variable name="ImgDir">
        <xsl:choose>
                <xsl:when test="$FRAMEWORK_ID=1">/images/ITUser/</xsl:when>
                <xsl:when test="$FRAMEWORK_ID=2">/images/UFI/</xsl:when>
        </xsl:choose>
</xsl:variable>
----

so what happens is that the {$ImgDir} doesn't get processed but when
I use the longwinded <xsl:attribute> version the html/jscript generated is
correct!!

**but** the rollover state doesn't seem to actually function... how odd.

any ideas? thanks guys.