select attribute

Subject: select attribute
From: "anoop" <anoop.agrawal@xxxxxxxxxxxxxxxx>
Date: Wed, 15 Mar 2000 10:22:37 +0530
i wanna write a xsl file in which according to the user choice the data b displayed as the ouput.i mean to say tha suppose i have an xml file something like
<root>
    <ele1>aaaa</ele1>
    <ele2>bbb</ele2>
</root>
and i wanna display at a time only one, either ele1 or ele2 according to the users choice using the same xsl file
 
i am not able to think in the right direction
anybody done this type of thing before 
 
any suggestions r welcome in advance
 
thanx
anoop
Current Thread