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]
Other format: [Raw text]

RE: javascript in XSLT


>      <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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]