Markup in Text

Hi,

The W3 DOM 2 specification states the following about the Text interface:

"If there is markup, it is parsed into the information items (elements, 
comments, etc.) and Text nodes that form the list of children of the 
element."

However I don't see any method to create a text node containing markup, 
because it is escaped automatically.
So when doesn this rule come into effect?

Robert.

Received on Wednesday, 10 August 2005 11:00:58 UTC