[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: xpath question
Subject: RE: xpath question
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Tue, 29 Feb 2000 10:21:25 -0000
|
> What I need is the node to be included if and only if the
> pp:attr is present *and* has a non-empty value.
>
> Three cases:
> <ns:elem/> (don't want a match)
> <ns:elem ns:attr=''/> (don't want a match)
> <ns:elem ns:arrt='something'/> (DO want a match)
test="string(@ns:attr)"
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|