Re: Hierarchical query

From: Jan Hidders <hidders_at_gmail.com>
Date: Thu, 14 Jun 2007 00:36:37 -0700
Message-ID: <1181806597.857510.267990_at_d30g2000prg.googlegroups.com>


On 14 jun, 07:49, Joe Kesselman <keshlam-nos..._at_comcast.net> wrote:
> Jan Hidders wrote:
> >> hmmm. actually I'm not sure what $dvar/string() was intended to mean,
> >> and I don't have time right now to check that.
>
> > It retrieves the text node children of the nodes in $dvar.
>
> No, that would be $dvar/text().

Oops, you are right of course. The function string() concatenates all the string values of the descendant text nodes. So in this case it simply retrieves the string value of the text node under the element node that is in $dvar.

  • Jan Hidders
Received on Thu Jun 14 2007 - 09:36:37 CEST

Original text of this message