[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] [Summary] How can the content of a leaf element bemultiple text nodes?
- From: Roger L Costello <costello@mitre.org>
- To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
- Date: Sun, 13 Feb 2022 13:10:29 +0000
In responding to my inquiry about the W3C DOM allowing two adjacent text nodes, Michael Kay wrote:
> You can construct a DOM programmatically,
> by adding and removing nodes at will. This
> means you can construct a DOM tree that
> does not correspond to any lexical XML
> document.
Ah! Okay, so no element in a lexical XML document will ever get parsed to two adjacent text nodes. It is only after manipulating the in-memory DOM tree that one might see an element containing two adjacent text nodes.
Thanks Michael!
/Roger
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]