[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: Sat, 12 Feb 2022 23:58:57 +0000
In response to this statement that I made:
>> A leaf element will never contain two
>> adjacent text nodes.
David Carlisle wrote this:
> That depends on the data model being used.
> The Xpath data model does not have adjacent
> text nodes but for example the W3C/Whatwg
> DOM does.
Fascinating!
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?
/Roger
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]