| 
 
Subject: [xsl] Outputting dynamically From: Juan Carlos Gonzalez <jcgonz@xxxxxxxxx> Date: Wed, 6 Nov 2002 06:35:25 -0800 (PST)  | 
Hi:
I want to pass the node attributes name as an
parameter to the XSLT file to transform a XML file.
For example:
<customer id="1">
  <order id="122" >
     <orderdet date="12/12/02">
       <item itemid="145" desc="hammer" qty="2"/>
       <item itemid="145" desc="nails" qty="6"/>
     </orderdet>
  </order>
</customer>
Then I would have in the XSLT file something like or
if someone can come with a better idea:
<xsl:param name="attr" select"'itemid|desc'"/>
and based on that I want to ouput only these
attributes being passed.
Any suggestions, 
thanks.
__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/
 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| [xsl] [final reminder] Cocoon GetTo, Steven Noels | Thread | Re: [xsl] Outputting dynamically, David Carlisle | 
| RE: [xsl] XSL selection question, jeremyf | Date | RE: [xsl] Outputting dynamically, Stuart Brown | 
| Month |