This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Empty elements
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Empty elements
- From: "Pawson, David" <DPawson at rnib dot org dot uk>
- Date: Thu, 21 Sep 2000 15:27:11 +0100
- Reply-To: xsl-list at mulberrytech dot com
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: http://www.mulberrytech.com/xsl/xsl-list