|
[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
RE: XPath 2.0 data-model - dm:string-value of a node
- From: "Michael Kay" <mike@s...>
- To: "'Shlomo Yona'" <S.Yona@F...>,"'Eran Balter'" <E.Balter@F...>,<xml-dev@l...>
- Date: Thu, 28 Feb 2008 15:00:57 -0000
Title: RE: XPath 2.0 data-model - dm:string-value of a node
/a/text() returns a sequence of two text nodes, containing
"x" and "z" respectively.
(What happens next depends on where you use this
expression).
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]
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
| RSS 2.0 |
 |
| Atom 0.3 |
 |
| |
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
|
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please
click here.
|
|