This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: How to pass the variable node-set as part of javascript
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] How to pass the variable node-set as part of javascript
- From: Alexander Gutman <gutman at novosoft-us dot com>
- Date: Tue, 16 Oct 2001 16:10:15 +0700
- Reply-To: xsl-list at lists dot mulberrytech dot com
> > <xsl:variable name="xx" select="data[item='yy']/>
> > <a href = "'javascript: usexx($xx)">xx will be used as param of other
> > xsl</a>
> What product are you using? Calling extension functions varies from one
XSLT
> processor to another.
If I understand this right, usexx is a JavaScript function called on a
client.
Therefore, the question actually does not concerns XSLT. It is about
DHTML. :-)
Just do not forget to predict the output of your XSLT.
Moreover, you can just have a look at the output (HTML or DHTML).
Mixing XSLT and DHTML is sometimes confusing.
So, before writing an XSLT, compose a DHTML you want to see
as an output, debug it completely, and only then write an XSLT
to produce exactly the result you have debugged.
--
Alexander Gutman
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list