Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.theory -> Re: Hierarchical query

Re: Hierarchical query

From: Jan Hidders <hidders_at_gmail.com>
Date: Thu, 14 Jun 2007 00:36:37 -0700
Message-ID: <1181806597.857510.267990@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.

Received on Thu Jun 14 2007 - 02:36:37 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US