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: Passing XML value to JavaScript function


I have a javascript function in the xsl that dynamically sorts a column.  I
pass the column to the javascript function.  The problem is, the column is
dynamic as well, so I never know what is getting passed.  Chris mentioned
that I am using the old namespace.  This was the way I learned off of a
tutorial late last year, so I thought I was doing it right.

Chris, I tried to view your tutorial, but I got the error "Keyword
xsl:call-template may not be used here."  I checked the version of MSXML I
am running, and it is MSXML2 in Replace mode.  What else do I need?  Thanks
for everyone's help.


-----Original Message-----
From: Robert Koberg [mailto:rob@koberg.com]
Sent: Tuesday, July 10, 2001 11:26 AM
To: xsl-list@lists.mulberrytech.com
Subject: Re: [xsl] Passing XML value to JavaScript function


Can I ask why you would want to do this? Usually you can do it in XSL.  One
use might be 'date' but I can't think of anything else off the top of my
head.


> Well, I have tried this every possible way I can think of, and I am still
> getting the error.  According to what Chris says, I should be able to do
it.
> I have even tried many variations, all with no success.  Has anyone ever
> done this before?  (for those who don't feel like scrolling, I am trying
to
> pass xml to a Javascript function using XSL).  Thanks.
>



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

 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]