[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: How to assign a nodelist to a variable

Subject: RE: How to assign a nodelist to a variable
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Fri, 9 Jan 2004 10:18:49 -0000
nodelist tutorial
Title: Message
This response was rubbish, I apologize. Must read more carefully.
 
Michael Kay
-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Michael Kay
Sent: 09 January 2004 09:47
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: How to assign a nodelist to a variable

I can't relate the subject of the post to your question at all.
 
Your XSLT code looks OK, and will generate the output
 
<tr><td style="padding-top:4px;">
   idx: 1
   <input
   class="button"
   language="_javascript_" 
  
    
   type="button"
   value="report" /></td></tr>
 
What output did you want it to generate?
 
Michael Kay

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Robert A. van Ginkel
Sent: 08 January 2004 17:01
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: How to assign a nodelist to a variable

Hello People,
 
I have something like this:
<xsl:for-each select="/sg/contents/menu/actions/action">
   <tr><td style="padding-top:4px;">
   idx: <xsl:value-of select="@idx" />
   <input
   class="button"
   language="_javascript_" 
  
   @idx" />');" 
   type="button"
   value="report" /></td></tr>
</xsl:for-each>
 
on:
       <action idx="1" flag="browse">
         <breakdown sort="page" data="" />
         <breakdown sort="param" name="entity" type="fixed" data="" />
         <breakdown sort="param" name="action" type="fixed" data="" />
       </action>
so as u can see I want to put a value from XML through XSL in a XHTML attribute. What I am doing doesn't work ofcourse, what will?
writing a function?
 
regards. Robert

Robert van Ginkel
StyleGate bv
Verspronckweg 63 SG,
2023 BB Haarlem
[ T ] +31 (0) 23 52 51 262
[ F ] +31 (0) 23 54 23 999
[ I ] www.stylegate.com
[ E ] robert@xxxxxxxxxxxxx
Disclaimer
Aan dit bericht kunnen geen rechten worden ontleend. Het bericht is alleen bestemd voor de geadresseerde. Indien dit bericht niet voor u is bestemd, verzoeken wij u dit onmiddellijk aan ons te melden en de inhoud van het bericht te vernietigen.

This message shall not constitute any obligations. This message is intended solely for the addressee. If you have received this message in error, please inform us immediately and delete its contents.

©http://www.stylegate.com/keeptrack.php?22

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.