[Home] [By Thread] [By Date] [Recent Entries]

  • From: Martin Honnen <Martin.Honnen@g...>
  • To: "xml-dev@l..." <xml-dev@l...>
  • Date: Sun, 16 Sep 2012 16:17:33 +0200

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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member