This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Difficulty with an msxsl:script function.


> <msxsl:script language="JavaScript" implements-prefix="user">
> 	function getLanguage()
> 	{
> 		var lang=document.mycombo....
> 
Try passing the root node of the document as a parameter to the function,
i.e. call user:getLanguage(/), and use this parameter instead of "document".
I don't know MSXML3 well enough to be sure this will work, but it seems
likely.

Mike Kay

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]