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] What is the name of the text that surrounds markupin mixed content?

Costello, Roger L. wrote:
> Hi Folks,
>
> This <Letter> element has mixed content:
>
> <Letter>
>      This is to inform you that it is
>      <em>urgent</em>
>      you contact us regarding your eligibility.
> </Letter>
>
> The <Letter> element has a child <em> element, which has text surrounding it.
>
> Is there an official name for the text that surrounds the child element(s) in mixed content? Is it just called the "surrounding text"?

The 'Letter' element node has three child nodes, a text node with contents "
     This is to inform you that it is
     " that is a sibling node to the 'em' element node which is a 
sibling to the text node with contents "
     you contact us regarding your eligibility.".

So I would call those text nodes sibling nodes of the 'em' element node.




-- 

	Martin Honnen --- MVP Data Platform Development
	http://msmvps.com/blogs/martin_honnen/


[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