RE: [xsl] what could select="self:node()[false()] be for?

Subject: RE: [xsl] what could select="self:node()[false()] be for?
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Sat, 19 Oct 2002 17:08:30 +0100
> XSLTC compiles the following template but at runtime throws 
> an error. Does anyone have a clue what the line
>   <xsl:param name="data" select="self::node()[false()]"/>
> could be doing; is supposed to do; does it make any sense?

Yes, it says that the default value of the parameter is an empty
node-set. Other ways of saying this are equally bizarre: "/.." is
popular, and I quite like "@text()". XPath 2.0 is much less fun, you
just write "()".

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 

> <xsl:template name="POP_UP">
> <xsl:param name="id"/>
> <xsl:param name="data" select="self::node()[false()]"/> 
> </xsl:template>
>  Tom Amiro
>  XSL-List info and archive:

 XSL-List info and archive:

Current Thread