|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
can we avoid line break in output fom xsl? here is my code: node = document.getElementById ("<xsl:value-of select="$id"/>"); <xsl:choose> <xsl:when test="action/@champs='oui'"> node.onclick = function (){ masubmit (document.fsaisie, '<xsl:value-of select="action/@module_script"/> ?action=<xsl:value-of select="action/@mode"/> <xsl:for-each select="action/parametre"> &<xsl:value-of select="@id"/>=<xsl:value-of select="@valeur"/> </xsl:for-each> ','<xsl:value-of select="action/@cible"/>' <xsl:if test="action/@cookie='oui'"> ,'<xsl:value-of select="//module/cookie"/>' </xsl:if> ); }; </xsl:when> and the result: node = document.getElementById ("lien_titre1"); node.onclick = function (){ masubmit (document.fsaisie, 'flux ?action=liste &order=2 desc ','liste' ,'QUERYFLU' ); }; so i want to have something like this: node = document.getElementById ("lien_titre1"); node.onclick = function (){ masubmit (document.fsaisie, 'flux?action=liste&order=2 desc', 'liste', 'QUERYFLU'); }; without too long xsl line code. tanks |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > avoid line break in output |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|