[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: how to call Javascript function in .xsl file
---Paul Prescod <papresco@xxxxxxxxxxxxxxxx> wrote: > > Li Jiefeng wrote: > > > > Hi, > > > > I am wondering how to call a JavaScript function in .xsl file. > > XSL does not currently support JavaScript. See > > http://www.w3.org/TR/WD-xsl > > for more information. > > If you are outputting HTML, and want to add in JavaScript code to the > output, I would suggest you do that through a post-process. > > Paul Prescod - http://itrc.uwaterloo.ca/~papresco I was reading the docs on Microsofts IE5 Beta, and it look like they still support scripting in their implementation of XSL. They have introduced a new element called <xsl:eval>, that does the same thing that <eval> used to do in their old msxsl processor. I have not tried it out, but I assume that would do the trick. Interestingly the docs don't mention that this is not a standard XSL element. What are the chances of this becoming part of the standard? See: http://www.microsoft.com/workshop/xml/xsl/reference/xsl_eval.asp Toivo Lainevool Infrastructure Specialist ObjectSpace: The Enterprise Java Solutions Company http://www.objectspace.com mailto:tlainevool@xxxxxxxxxxxxxx _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|