Re: [xml-dev] What is the name of the text that surrounds markup in mixed content?

From
Martin Honnen <>
To
"" <>
Date
2012-09-16T14:17:33Z
ID
<>
Thread
Re: [xml-dev] What is the name of the text that surrounds markup in 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/