This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Empty elements


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]