OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Javascript in XSL problem

[ Lists Home | Date Index | Thread Index ]
  • From: Simon Hargreaves <simon@openthought.com>
  • To: XML Developers' List <xml-dev@ic.ac.uk>
  • Date: Tue, 27 Jul 1999 17:51:43 +0000

I'm having trouble passing the current node to a javascript/ECMAScript
in an XSLT parser, I'm using the lotusxsl java implementation with the
IBM DOM java classes.

I'm trying to call the javascript function

        function addNode(nodeN){

    }

    with the xsl
    ------------
    <xsl:copy-of select="lxslt:addNode(.)"/>
---------------
    {lxslt:addNode(.)}
----------------
    <xsl:variable name="currentn" select="."/>
    <xsl:copy-of select="lxslt:addNode($currentn)"/>
----------------

But I just get the data passed as ResultTreeFrag and I can't get any
kind of child data or document data from it.

    Can anybody help, there is nothing of use on the lotus site or in
the documentation, and it doesn't help that it is using the lotus API in
the javascript and not the DOM bindings for ECMAScript.

            Simon...


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS