Subject: RE: Non-existing node
From: timw@xxxxxxx
Date: Mon, 17 Sep 2001 17:00:17 +1000
|
Why don't you try it out? :)
When I stuff up and try finding nodes which don't exist all I get is ...
nothing
There-for <xsl:if test="SomeNode=Whatever"> will always be false.
Tim
> -----Original Message-----
> From: Casadome, Francisco Javier
> [mailto:Francisco.Casadome@xxxxxxxxxxxxxx]
> Sent: Monday, 17 September 2001 3:49 PM
> To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
> Subject: Non-existing node
>
>
> Hi *,
>
> I have a (stupid?) question:
>
> What is returned when you try to reach a node that doesn't exist ?
> Imagine the simplest xml possible:
>
> <xml></xml>
>
> what I would like to know is what value is returned if I try
> to reach some
> node inside the xml, thus is:
>
> ...
> <xsl:if test="SomeNode=Whatever">
> ...
> </xsl:if>
> ...
>
> What is the "Whatever" compared to ?
>
> Thanks in advance,
> Frank.
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|