xsl-list
[Top] [All Lists]

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

2002-10-18 06:42:35
It returns a empty nodeset by default.

self::node() means the current node. false() evaluates to false of course, so the current node is filtered out.

Regards,

Joerg

Tom Amiro wrote:
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?

<xsl:template name="POP_UP">
<xsl:param name="id"/>
<xsl:param name="data" select="self::node()[false()]"/>
</xsl:template>

 Tom Amiro

--

System Development
VIRBUS AG
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409
joerg(_dot_)heinicke(_at_)virbus(_dot_)de
www.virbus.de

VIRBUS hat jetzt als erster deutscher Softwarehersteller die Zertifizierung für den 3D Secure-Authentifizierungsstandard "Verified by Visa" erhalten. Details unter http://www.virbus.de/de/press/pressemitteilung/20020828_verified_by_VISA.


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>