- From: "Shlomo Yona" <S.Yona@F...>
- To: "Michael Kay" <mike@s...>,"Eran Balter" <E.Balter@F...>,<xml-dev@l...>
- Date: Thu, 28 Feb 2008 06:35:56 -0800
Title: RE: XPath 2.0 data-model - dm:string-value of a node
Hello,
What is expected to be returned for /a/text() ?
Is it "xz" or "xyz"?
Thanks.
Shlomo
-----Original Message-----
From: Michael Kay [mailto:mike@s...]
Sent: Wed 2/27/2008 9:51 PM
To: Eran Balter; xml-dev@l...
Subject: RE: XPath 2.0 data-model - dm:string-value of a node
The string value of an element node is the concatenation of all its
descendant text nodes.
Michael Kay
http://www.saxonica.com/
_____
From: Eran Balter [mailto:E.Balter@F...]
Sent: 27 February 2008 17:05
To: xml-dev@l...
Subject: XPath 2.0 data-model - dm:string-value of a node
Hi,
Given the following:
<a>x<b>y</b>z</a>
Is the string-value of Element-node "a" is "xz" or "xyz", or generally:
should the value of the children element-nodes be concatenated to the
string-value?
Should Processing instructions/comments's text be concatenated to the parent
node?
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
|