xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] calling javascript function with parameters from xslt


Subject: Re: [xsl] calling javascript function with parameters from xslt
From: "Vladimir Nesterovsky" <vladimir@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 26 Jul 2008 10:12:54 +0300

onclick="javascript:__EmployeeDetails( <xsl:value-of
select="./fldEmployee"/> )">Employee Details</a>

is it possible?is there any otherway(I know xslt can also be in client side) ?

You might want to write:


onclick="javascript:__EmployeeDetails({./fldEmployee})".

This is an attribute value template, permitted in literal elements.
Text in curly braces is xpath.
--
Vladimir Nesterovsky
http://www.nesterovsky-bros.com/



Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor