| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Hierarchical query
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.
![]() |
![]() |