[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Empty nodes

Subject: RE: Empty nodes
From: DPawson@xxxxxxxxxxx
Date: Thu, 5 Jul 2001 08:38:42 +0100
xml define empty nodes
Mike and others explained this fully,
see 

http://www.dpawson.co.uk/xsl/sect2/N3328.html#d122e60

Regards DaveP

> -----Original Message-----
> From: Michael Kay [mailto:mhkay@xxxxxxxxxxxx]
> Sent: 04 July 2001 14:33
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE:  Empty nodes
> 
> 
> > 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"
> 
> <a/> satisfies 1,2, and 3
> <a><b/></a> satisfies 2
> <a><!--comment--></a> satisfies 2 and 3.
> 
> Attributes, on these definitions, make no difference. But of 
> course you are
> perfectly entitled to define "empty" as meaning "has no 
> attributes", if
> that's what you want to test for.
> 
> PS, please tell your legal department to stop adding this 
> junk to your mail.
> I haven't read it, and I hereby give notice that I regard it 
> as having no
> legal effect. And the same applies to everyone else.
> 
> Mike Kay
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.