GNU Info

Info Node: (python2.1-lib.info)Text and CDATASection Objects

(python2.1-lib.info)Text and CDATASection Objects


Next: ProcessingInstruction Objects Prev: Comment Objects Up: Objects in the DOM
Enter node , (file) or (file)node

Text and CDATASection Objects
.............................

The `Text' interface represents text in the XML document.  If the
parser and DOM implementation support the DOM's XML extension, portions
of the text enclosed in CDATA marked sections are stored in
`CDATASection' objects.  These two interfaces are identical, but
provide different values for the `nodeType' attribute.

These interfaces extend the `Node' interface.  They cannot have child
nodes.

`data'
     The content of the text node as a string.

*Note:*  The use of a `CDATASection' node does not indicate that the
node represents a complete CDATA marked section, only that the content
of the node was part of a CDATA section.  A single CDATA section may be
represented by more than one node in the document tree.  There is no
way to determine whether two adjacent `CDATASection' nodes represent
different CDATA marked sections.


automatically generated by info2www version 1.2.2.9