Subject: Re: Scalar -> node-set conversion (was How to distinguish b/n a scala r and a node-set) From: Miloslav Nic <nicmila@xxxxxxxxx> Date: Mon, 06 Nov 2000 15:24:16 +0100 |
<xsl:variable name="emptyNodeset" select="aVeryStrangeElementName"/> Francis Norton wrote: > > Kay Michael wrote: > > > > > Dmitre wrote: > > > > > > > Also, I've heard that the standard node-set() function in > > > XSLT 1.1 will throw error when passed a scalar argument. > > > > It is currently proposed that RTF->nodeset conversion should be implicit in > > XSLT 1.1, but there has been no proposal to allow string->nodeset > > conversion. > > > Will there be, or is there already, a method of declaring an empty > nodeset? > > This would be very useful for defaulting nodeset parameters in functions > where you don't want type errors on your nodeset operations when the > parameter is empty. > > Francis. > -- > Francis Norton. > > why not? > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list -- ****************************************** <firstName> Miloslav </firstName> <surname> Nic </surname> <mail> nicmila@xxxxxxxxx </mail> <support> http://www.zvon.org </support> <zvonMailingList> http://www.zvon.org/index.php?nav_id=4 </zvonMailingList> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Scalar -> node-set conversion (, Francis Norton | Thread | Re: Scalar -> node-set conversion (, Mike Brown |
Re: Scalar -> node-set conversion (, David Carlisle | Date | RE: Scalar -> node-set conversion (, Kay Michael |
Month |