Author:Bruce Williams
Email:
Subject:Accessing Javascript from XSL Stylesheet
Category:Development
Message:

I have an XSL stylesheet that displays records from a database.

The extract from the stylesheet below allows me to display a particular record using a particular design element (in this case the dlgWork page)

<xsl:attribute name="href"><xsl:value-of select="/data/@path"/><xsl:text>/dlgWork?OpenPage
&amp;id=</xsl:text>

However, my dlgWork page is a "pseudo dialog box" that I want opened with certain attributes - size, width, etc. I normally open this page via javascript passing the appropriate parameters.

Is it possible to call the javascript fuction from the XSL stylesheet?


Threads:
Accessing Javascript from XSL Stylesheet   Bruce Williams 15.Jun.06
    Example   Brendon Upson 15.Jun.06