[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Outputting dynamically


Subject: RE: [xsl] Outputting dynamically
From: Stuart Brown <sbrown@xxxxxxxxxxx>
Date: Wed, 6 Nov 2002 14:48:56 -0000


-----Original Message-----
From: Juan Carlos Gonzalez [mailto:jcgonz@xxxxxxxxx]
Sent: 06 November 2002 14:35
To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] Outputting dynamically


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

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords