RE: XQuery 1.0 - 3.2.3 and 3.2.4 Examples

> 	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 UTC