Subject: RE: [xsl] Empty nodes From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Wed, 4 Jul 2001 13:49:25 +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. > 2. what's wrong with my not() function ? not(.) is true if the current node does not exist. But it always does. Mike Kay Software AG XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Empty nodes, Benoit_Aumars | Thread | Re: [xsl] Empty nodes, David Carlisle |
Re: [xsl] RE: A simple solution (Wa, David Carlisle | Date | Re: [xsl] XSL-FO, David Carlisle |
Month |