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


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