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]

RE: How to pass the variable node-set as part of javascript


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


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