This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: javascript in XSLT
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 30 Apr 2002 08:36:51 +0100
- Subject: RE: [xsl] javascript in XSLT
- Reply-to: xsl-list at lists dot mulberrytech dot com
> <xsl:call-template name="markRecords" /> <!-- Here, I
> am trying to call
> the javascript -->
> Here is the markRecords.xsl:
>
>
> <xsl:template name="markRecords">
> <script>
> function saveme(key, value) {<![CDATA[
> var script, i, num, temp;
> num = document.results.length;
Your markRecords call is not calling any Javascript, it is writing
Javascript code to the output document.
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list