Re: [xsl] XS:IF - test if attributes exist

Subject: Re: [xsl] XS:IF - test if attributes exist
From: Peter Davis <pdavis152@xxxxxxxxx>
Date: Mon, 11 Mar 2002 00:27:11 -0800
<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


Current Thread