[xsl] repost Applying xsl:key to similar looking node names

Subject: [xsl] repost Applying xsl:key to similar looking node names
From: "KUMAR NINGASHETTY" <kningashetty@xxxxxxxxxxxxxxxx>
Date: Wed, 01 May 2002 13:45:58 -0400
Sorry if this is not a sensible question ...For the following xml i was wondering is there a way to 
use xsl:key for similar looking node names...If so how ??
All i need is to pull the data from the node  <agentname> across the whole xml ...

<data>
    <companies>
       <agent>
            <agentname>AAA</agentname>
       </agent>
       <agent>
           <agentname>BBB</agentname>
                    <companies>
                          <agent>
                    	<agentname>CCC</agentname>
                          </agent>
                          <agent>
 		<agentname>DDD</agentname>
	          </agent>
	   </companies>
       </agent>
    </companies>
</data>

Thanks




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


Current Thread