Subject: RE: [xsl] Re:Re: How to pass the variable node-set as part of jav ascript From: Jorge Maestre <jorge.maestre@xxxxxxxxxxx> Date: Tue, 16 Oct 2001 11:32:01 +0200 |
If $xx contains a node tree you can access to any sub-node with the sintax: <a href = "javascript: usexx('{$xx/anynode}')">xx will be used as param of other xsl</a> or for an attribute: <a href = "javascript: usexx('{$xx/@anyattribute}')">xx will be used as param of other xsl</a> -----Original Message----- From: Yang [mailto:sfyang@xxxxxxxxxxxxx] Sent: martes, 16 de octubre de 2001 10:53 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] Re:Re: How to pass the variable node-set as part of javascript Hi, Alexander, & Nicholas , Thanks for your help for my posted problem. However, when using <a href = "javascript: usexx('{$xx}')">xx will be used as param of other xsl</a> it pass only the first value of the variable. What I am asking for is to pass the xml fragment of $xx through javascript argument, something like in xslt <xsl:param name="xx" select="/.."/> Is there any better way to achieve this goal? Thanks SunFu Yang sfyang@xxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list This message and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. No confidentiality or privilege is waived or lost by any wrong transmission. If you have received this message in error, please immediately destroy it and kindly notify the sender by reply email. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Opinions, conclusions and other information in this message that do not relate to the official business of Newknow shall be understood as neither given nor endorsed by it. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re:RE: How to pass the variab, Yang | Thread | [xsl] Saxon custom extensions probl, Gustaf Liljegren |
Re: [xsl] keys and idrefs - XSLT2 r, David Carlisle | Date | Re: [xsl] keys and idrefs - XSLT2 r, David Carlisle |
Month |