RE: [xsl] Empty nodes

Subject: RE: [xsl] Empty nodes
From: Benoit_Aumars@xxxxxxxxxxxx
Date: Wed, 4 Jul 2001 14:01:01 +0100

> > My questions are :
> > 1. is <b code="123"/> is empty node just like <c/> ?
> There's no such thing as an "empty node" defined in the XPath 
> data model, so
> you can define the term any way you like. Popular definitions 
> include "has
> no child nodes", "has zero-length string value", "has no 
> child elements or
> text nodes". These are all different, for example
> <e><!-- comment --></e> is empty under the second and third 
> definitions but
> not the first.

> not(.) is true if the current node does not exist. But it always does.
You make me confuse ... :)
Do you mind to give us some examples of 
1. "has no child nodes"
2. "has zero-length string value"
3. "has no child elements or text nodes"
4. node does not exist

Does :
1. <c/> means "has no child nodes" or "has zero-length string value" or "has
no child elements or text nodes" ?
2. <b code="123"> means "has zero-length string value" ?

Benoit Aumars

JLT Management Services Limited
6 Crutched Friars, London EC3N 2PH. Co Reg No 1536540
Tel: (44) (0)20 7528 4000   Fax: (44) (0)20 7528 4500
The content of this e-mail (including any attachments) as 
received may not be the same as sent. If you consider that 
the content is material to the formation or performance of 
a contract or you are otherwise relying upon its accuracy, 
you should consider requesting a copy be sent by facsimile 
or normal mail.  The information in this e-mail is 
confidential and may be legally privileged. If you are not 
the intended recipient, please notify the sender immediately 
and then delete this e-mail entirely - you must not retain, 
copy, distribute or use this e-mail for any purpose or 
disclose any of its content to others.

Opinions, conclusions and other information in this e-mail 
that do not relate to the official business of JLT 
Management Services Limited shall be understood as neither 
given nor endorsed by it.  Please note we intercept and 
monitor incoming / outgoing e-mail and therefore you should 
neither expect nor intend any e-mail to be private in nature.

We have checked this e-mail for viruses and other harmful 
components and believe but not guarantee it virus-free prior 
to leaving our computer system.  However, you should satisfy 
yourself that it is free from harmful components, as we do 
not accept responsibility for any loss or damage it may 
cause to your computer systems.

 XSL-List info and archive:

Current Thread