xsl-list
[Top] [All Lists]

Outputting dynamically

2002-11-06 07:35:25
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



<Prev in Thread] Current Thread [Next in Thread>