RE: [xsl] javascript in XSLT

Subject: RE: [xsl] javascript in XSLT
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Tue, 30 Apr 2002 08:36:51 +0100
>      <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@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx


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


Current Thread