xsl-list
[Top] [All Lists]

Re: Checking attribute is there or not for a node

2005-07-06 23:26:20





Hi,

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

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

cheers,
prakash




                                                                                
                                                       
                      "Lakshmi                                                  
                                                       
                      narayana"                To:      "XSL \(E-mail\)" 
<xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>                             
                      <lchintala(_at_)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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>