lenya-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geert Verhaag" <g.verh...@lrcb.nl>
Subject How to call External Javascript from xhtml2xhtml.xsl?
Date Thu, 08 Nov 2007 12:10:34 GMT
Dear Lenya'rs,

I'm struggling with calling an external Javascript from within the
xhtml2xhtml.xsl file.

The following is a new match I've added to it: 

  <xsl:template match="xhtml:div[@id = 'abstract']">
     <script language="javascript" type="text/javascript"
     <a href="javascript:myscript(myargument);">Abstract</a></p>

I'd like to actually run the script when clicking the Abstract link on
the final html page.

At what location has the script to reside within the directory of my

Can anybody give me a hint on this, please? Thanks!



Dit bericht is uitsluitend bestemd voor de geadresseerde.
Het bericht kan vertrouwelijke informatie bevatten.
Als u dit bericht per abuis hebt ontvangen, wordt u
verzocht onmiddellijk de afzender te informeren. Ook
verzoeken wij u het bericht te vernietigen en de inhoud
niet onder derden te verspreiden of te gebruiken.

This message is intended exclusively for the addressee.
It may contain information that is confidential.
If you are not the intended recipient, we request that
you notify the sender immediately. In that case, we
also request that you destroy the message and that
you neither use the contents nor disclose them in any
manner to third parties.

To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org

View raw message