This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Simplest way to return an empty node-set
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Mon, 31 Dec 2001 14:31:01 -0000
- Subject: RE: [xsl] Simplest way to return an empty node-set
- Reply-to: xsl-list at lists dot mulberrytech dot com
> What is the simplest XPath expression that is guarenteed to
> generate an empty node-set in an doucment?
Try:
@text()
or
/..
Mike Kay
XPath 2.0 solution: ()
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list