Name

Text — Inherits CharacterData

Synopsis

The Text method represents textual data within an Element or Attribute. Text nodes are created for all chunks of text outside of regular markup within an XML document. The normalize method merges adjacent Text nodes into a single node for each chunk of Text. The methods of the CharacterData interface can be used on this object to gain access and manipulation of the text data.

splitText( offset )

This method splits the node into two nodes at the point offset. All of the data in the node prior to the offset remain as a node. The data after the offset becomes part of a new, adjacent Text node, which is returned to the caller.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.226.66