Re: [xsl] Checking attribute is there or not for a node

Subject: Re: [xsl] Checking attribute is there or not for a node
From: omprakash.v@xxxxxxxxxxxxx
Date: Thu, 7 Jul 2005 11:56:20 +0530
Hi,

<xsl:template match="A">
<xsl:if test="@order">

</xsl:if>
</xsl:template>

cheers,
prakash




                                                                                                                                       
                      "Lakshmi                                                                                                         
                      narayana"                To:      "XSL \(E-mail\)" <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>                             
                      <lchintala@osi-t         cc:      (bcc: omprakash.v/Polaris)                                                     
                      ech.com>                 Subject: [xsl] Checking attribute is there or not for a node                            
                                                                                                                                       
                      07/07/2005 12:08                                                                                                 
                      PM                                                                                                               
                      Please respond                                                                                                   
                      to xsl-list                                                                                                      
                                                                                                                                       
                                                                                                                                       





Hi
How to check whther an attribute is there for the current node or not.
eg: <A id="1" order="123"/>
To check whether A has attribute order or not. Can any one send me the xslt
code.

Thanks,
Laxmi Narayana





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