[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: Michael Kay <mike@saxonica.com>
- To: Roger L Costello <costello@mitre.org>
- Date: Sun, 13 Feb 2022 00:09:36 +0000
>
> David, would you please give an example of an XML leaf element that would result in the W3C DOM producing two adjacent text nodes? Would this leaf element:
>
> <Test>abc def</Test>
>
> result in the W3C DOM producing two adjacent text nodes?
>
> What is the reasoning behind creating two adjacent text nodes?
>
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.
Michael Kay
Saxonica
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]