[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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


Subject: Re: [xsl] Checking attribute is there or not for a node
From: Mukul Gandhi <mukul_gandhi@xxxxxxxxx>
Date: Thu, 7 Jul 2005 00:28:41 -0700 (PDT)

Please try xsl:if test="A/@order" for this problem. 

(Not tested)

Regards,
Mukul

--- Lakshmi narayana <lchintala@xxxxxxxxxxxx> wrote:

> 
> 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
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Current Thread
Keywords