>
> 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