Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


=?Utf-8?Q?Call_a_function_defined_in_=E2=80=9Cmsxs?= =?Utf-8?Q?l:script=E2=80=9D_block_from_=E2=80=9Conclick=E2=80=9D_h?= =?Utf-8?Q?an?=

From: Eugene@-----------.---------.---
To: NULL
Date: 4/3/2008 7:11:00 AM

(Beginner's question)

Xml file contents:
<Results>
 <Iteration Sample="1" Pressure="14" Derivative="0" Regression="0" />
<Iteration Sample="2" Pressure="16" Derivative="0" Regression="0" />
<Iteration Sample="3" Pressure="10" Derivative="0" Regression="0" />
<Iteration Sample="4" Pressure="25" Derivative="0" Regression="0" />
</Results>
With XSLT file:
...
<xsl:template match="Iteration">
                <td onclick="user:onClickHandler( )">
<xsl:value-of select="@Sample" />
                </td>
                <td>
<xsl:value-of select=" @Dervative" />
                </td>
                <td onclick="clickIt()">
<xsl:value-of select="@Regression" />
                </td>
</xsl:template>
...
<msxsl:script language="JScript" implements-prefix="user">
	function onClickHandler( )
        	{
        	}
</msxsl:script>

Please explain how I can call “onClickHandler” when user clicks somewhere 
inside “Sample” cell and pass sample number to this function (current 
implementation throws axception “Object required”)

Thank you,

Eugene



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent