This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

repost Applying xsl:key to similar looking node names



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]