Subject: Re: Scalar -> node-set conversion (was How to distinguish b/n a scala r and a node-set) From: Francis Norton <francis@xxxxxxxxxxx> Date: Mon, 06 Nov 2000 15:52:33 +0000 |
David Carlisle wrote: > > > Will there be, or is there already, a method of declaring an empty > > nodeset? > > select="x[tobe and not(tobe)]" > Thanks David - select="self::*[2]" seems to work well (if not quite so poetically) too. And now I see in http://www.w3.org/TR/xslt#variables <quote> NOTE: One convenient way to specify the empty node-set as the default value of a parameter is: <xsl:param name="x" select="/.."/> </quote> Should have read the spec.... Francis. -- Francis Norton. why not? XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Scalar -> node-set conversion (, David Carlisle | Thread | Re: Scalar -> node-set conversion (, Miloslav Nic |
Skipping surounding element, Goetz Bock | Date | RE: how to number on a grouped and , Chad Small |
Month |