This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Scalar -> node-set conversion (was How to distinguish b/n a scala r and a node-set)
<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@idoox.com </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