Subject: RE: [xsl] Embed JavaScript in XSL From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Date: Tue, 19 Nov 2002 23:08:53 -0000 |
Some XSLT processors (e.g. MSXML3) allow calling from XSLT to JavaScript but the mechanism for doing so is processor-dependent. Consult the vendor's documentation for writing extension functions. Are you sure you need to write the function in JavaScript? It's much cleaner to write all the logic in XSLT if you can. Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of > Charlene Mo > Sent: 19 November 2002 18:10 > To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx > Subject: [xsl] Embed JavaScript in XSL > > > > Hi, I am new to the world of XML. After checking the archive > of the list > for information on embedding javascript in XSL, I did not get > exactly what > I wanted. So hope you can help me to understand. I need to embed a > javascript function that takes one parameter in XSL and use > it in either > xsl:if or xsl:when. Is there anyway that I can accomplish > this? Example > will be helpful. Thanks in advance. > > > ************************************************ > Charlene Mo > Online Services Coordinator > Flint Area Library Cooperative Online Network > G-4195 W. Pasadena Ave. > Flint, MI 48504 > Web site: http://www.falcon.edu > Email: cmo@xxxxxxxxxx > Phone: (810)732-0266 > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Embed JavaScript in XSL, David Carlisle | Thread | RE: [xsl] Embed JavaScript in XSL, Martinez, Brian |
Re: [xsl] unix problems.. change of, martin | Date | RE: [xsl] match taste, Michael Kay |
Month |