This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: xpath question
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: xpath question
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Tue, 29 Feb 2000 10:21:25 -0000
- Reply-To: xsl-list at mulberrytech dot com
> 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