Oxygen XML Editor
 
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] embedding xsl within javascript


Subject: RE: [xsl] embedding xsl within javascript
From: "Rob Bradley" <rob@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 29 Jul 2004 16:02:19 -0700

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.


Current Thread
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor