Subject: RE: [xsl] Difficulty with an msxsl:script function. From: "Richard Birkby" <rbirkby@xxxxxxxxxxx> Date: Tue, 19 Dec 2000 10:37:51 -0000 |
function getLanguage(oNodeSet) { oNodeSet.item(0). ...
From: Kay Michael <Michael.Kay@xxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: "'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'" <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Subject: RE: [xsl] Difficulty with an msxsl:script function. Date: Tue, 19 Dec 2000 09:53:34 -0000
> <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
_________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Difficulty with an msxsl:, Kay Michael | Thread | [xsl] How to obtain the tag name?, Derek Ngok |
[xsl] encoding, Thomas Karlsen | Date | [xsl] Calling java application duri, David Delgranche |
Month |