Re: [xsl] XSL siblings

Subject: Re: [xsl] XSL siblings
From: omprakash.v@xxxxxxxxxxxxx
Date: Wed, 29 Jun 2005 09:00:19 +0530
Hi,
    You can do this as follows:

 <xsl:for-each select="LISTOFDISPLAYLOCATIONS/DISPLAYLOCATION">
         <xsl:variable name="locationId"
select="DISPLAYLOCATIONID"/>
             <xsl:if test"$locationId ='3'">
                  <xsl:for-each select="../../LISTOFOCATIONS">
                        <xsl:value-of select="LOCATION/LOCATIONNAME"/>
                  </xsl:for-each>
            </xsl:if>
  </xsl:for-each>


Cheers,
omprakash.V




This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. 
If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately.
You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification,
distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited.

Visit Us at http://www.polaris.co.in

Current Thread