-----Original Message-----
From: Juan Carlos Gonzalez [mailto:jcgonz(_at_)yahoo(_dot_)com]
Sent: 06 November 2002 14:35
To: XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com
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