This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: XS:IF - test if attributes exist


<xsl:if test="not(@thisAttr)">
  do something special
</xsl:if>

On Monday 11 March 2002 00:09, Lea Allison wrote:
> Hello
>
> could someone please tell me how it would be possible to test if an
> attribute does not exist within an element?
>
> ie.
>
> ... xsl:if test=" ( @thisAtrr not found) "
> 	do something special
>
>
> Thanks
>
> Lea
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

-- 
Peter Davis
Macho does not prove mucho.
		-- Zsa Zsa Gabor

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]