W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2003

RE: XQuery 1.0 - 3.2.3 and 3.2.4 Examples

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Wed, 5 Mar 2003 01:39:18 +0100
Message-ID: <DFF2AC9E3583D511A21F0008C7E621060453E10A@daemsg02.software-ag.de>
To: Gareth Reakes <gareth@decisionsoft.com>, Svgdeveloper@aol.com
Cc: public-qt-comments@w3.org

> 	if the context node was a element node who had mixed 
> content then 
> there could be multiple text nodes.

Correct.

Or even if the context node had simple content, but contained a comment:

<ele>123<!--decimal point follows-->.456</ele>

Michael Kay


> 
> eg
> 
> 
> <ele>text
>   <in1>text
> </ele>
> 
> Gareth
> 
> 
> On Tue, 4 Mar 2003 Svgdeveloper@aol.com wrote:
> 
> > 
> > For the following examples in 3.2.3 and 3.2.4,
> > 
> > child::text()
> > text()
> > 
> > the corresponding definition refers to *all* child text 
> nodes of the 
> > context
> > node.
> > 
> > Isn't it the case that there can only ever be one such text 
> node which 
> > is a
> > child node of the context node? The term "all", therefore, 
> seems potentially 
> > misleading.
> > 
> > Andrew Watt
> > 
> > 
> 
> -- 
> Gareth Reakes, Head of Product Development  +44-1865-203192
> DecisionSoft Limited                        
> http://www.decisionsoft.com
> XML Development and Services
> 
> 
> 
Received on Tuesday, 4 March 2003 19:39:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:24 GMT