Re: Empty elements

Subject: Re: Empty elements
From: Nick Browne <NickBrowne@xxxxxxxxxxxxxxx>
Date: Thu, 21 Sep 2000 18:35:34 +0100
My concern was caused by the differences in the results between two
processors. My initial reaction was that Saxon was right. Looking more
closely at the result there were differences between Oracle and Saxon for
nodes with id1, id02 and id04. ie.

Node    Saxon        Oracle
id0        empty         empty
id1        not empty   empty
id2        empty         not empty
id3        empty         empty
id4        not empty   empty

The question is : which is right ? I still go with Saxon.

Regards
Nick Browne


David Carlisle wrote:

> > <node id="id05"> <x> </x></node>
> > <node id="id06"> <x></x></node>
>
> >  Both of these show up as not empty using string().
> >  Again this feels about right.
>
> If you consider that they should be empty using string() then probably
> it means that you should have declared
> <xsl:strip-space elements="node x"/>
>
> David
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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


Current Thread