[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Re:Re: How to pass the variable node-set as part o
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: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|