Table of contentsAppendices |
5.7 Text NodesText NodesCharacter data is grouped into text nodes. As much character data as possible is grouped into each text node: a text node never has an immediately following or preceding sibling that is a text node. The [string-value] of a text node is the character data. A text node always has at least one character of data. Each character within a CDATA section is treated as character data.
Thus, NOTE: Characters inside comments, processing instructions and attribute values do not produce text nodes. Line-endings in external entities are normalized to #xA as specified in the XML Recommendation XML. A text node does not have an [expanded-name] . |