RE: Empty elements

Subject: RE: Empty elements
From: "Pawson, David" <DPawson@xxxxxxxxxxx>
Date: Thu, 21 Sep 2000 15:27:11 +0100
David Carlisle

> > <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"/>

Yes, understood, though for 'normal' processing I rarely use this,
saving it for really wasteful input.

Noted that with that addition, all elements are 'clean' and empty.
Regards DaveP

 XSL-List info and archive:

Current Thread