[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Michael Kay" <mike@s...>
  • To: "'Eran Balter'" <E.Balter@F...>,<xml-dev@l...>
  • Date: Wed, 27 Feb 2008 19:51:46 -0000

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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member