XSLT variable and Javascript

XSLT variable and Javascript - XML/XSL - Programmation

Marsh Posté le 29-04-2008 à 20:00:40    

bonjour,
 
j'aimerais savoir comment passer une variable XSLT  
 
<xsl:variable name="c_name" select="name" xml:base="string"></xsl:variable>
 
en paramètre à une fonction javascript.
 
<a href="javascript:displayDivPlayer('maVariableXSLT');">...
 
 
merci :)

Reply

Marsh Posté le 29-04-2008 à 20:00:40   

Reply

Marsh Posté le 29-04-2008 à 20:49:15    

xsl:value-of


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box, and replicate and expand beyond their wildest dreams by throwing away the limits imposed by overbearing genetic r
Reply

Marsh Posté le 12-06-2008 à 16:56:18    

et pour récupérer une valeur javascript dans le xsl
 
ex:
<xsl:variable name="NewUrl" select="[variable_javascript]"/>

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed