xsl-list
[Top] [All Lists]

Re: Checking attribute is there or not for a node

2005-07-07 00:28:41
Please try xsl:if test="A/@order" for this problem. 

(Not tested)

Regards,
Mukul

--- Lakshmi narayana <lchintala(_at_)osi-tech(_dot_)com> 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



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




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

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