XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

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

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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS