This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XS:IF - test if attributes exist
- From: Peter Davis <pdavis152 at attbi dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Mon, 11 Mar 2002 00:27:11 -0800
- Subject: Re: [xsl] XS:IF - test if attributes exist
- References: <A81889A49303D611871C00A024513E932FFE8F@virgin_6>
- Reply-to: xsl-list at lists dot mulberrytech dot com
<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