XML::DOM::Text − A piece of XML text in XML::DOM
XML::DOM::Text extends XML::DOM::CharacterData, which extends XML::DOM::Node.
The Text interface represents the textual content (termed character data in XML ) of an Element or Attr. If there is no markup inside an element’s content, the text is contained in a single object implementing the Text interface that is the only child of the element. If there is markup, it is parsed into a list of elements and Text nodes that form the list of children of the element.
When a document is first made available via the DOM , there is only one Text node for each block of text. Users may create adjacent Text nodes that represent the contents of a given element without any intervening markup, but should be aware that there is no way to represent the separations between these nodes in XML or HTML , so they will not (in general) persist between DOM editing sessions. The normalize() method on Element merges any such adjacent Text objects into a single node for each block of text; this is recommended before employing operations that depend on a particular document structure, such as navigation with XPointers.
Breaks this Text node into two Text nodes at the specified offset, keeping both in the tree as siblings. This node then only contains all the content up to the offset point. And a new Text node, which is inserted as the next sibling of this node, contains all the content at and after the offset point.
offset The offset at which to split, starting from 0.
Return Value: The new Text node.
Raised if the specified offset is negative or greater than the number of characters in data.
Raised if this node is readonly.
More Linux Commands
optionRestore(3) restore option state from memory copy......
Copy back the option state from saved memory. The allocated memory is left intact, so this routine can be called repeatedly without having to call optionSaveSta
domainname(1) - show or set the system's NIS/YP domain name
Hostname is the program that is used to either set or display the current host, domain or node name of the system. These names are used by many of the networkin
snmp_read(3) - netsnmp_session_api functions (Man Page).....
Snmp_sess_init prepares a netsnmp_session that sources transport characteristics and common information that will be used for a set of SNMP transactions. After
seek(n) - Change the access position for an open channel....
Changes the current access position for channelId. ChannelId must be an identifier for an open channel such as a Tcl standard channel (stdin, stdout, or stderr)
accept4(2) - accept a connection on a socket (Man Page).....
The accept() system call is used with connection-based socket types (SOCK_STREAM, SOCK_SEQPACKET). It extracts the first connection request on the queue of pend
amavisd-milter(8) - sendmail milter for amavisd-new.........
The amavisd-milter is a sendmail milter (mail filter) for amavisd-new 2.4.3 and above and sendmail 8.13 and above (limited support for 8.12 is provided). Instea
dfutool(1) - Device Firmware Upgrade utility (Man Page).....
dfutool is used to verify, archive and upgrade firmware files. OPTIONS -h Gives a list of possible commands. -d <device> The command specifies the device to use
getwc_unlocked(3) - nonlocking stdio functions (Man Page)...
Each of these functions has the same behavior as its counterpart without the _unlocked suffix, except that they do not use locking (they do not set locks themse
pcre32_config(3) Perl-compatible regular expressions........
This function makes it possible for a client program to find out which optional features are available in the version of the PCRE library it is using. The argum
gnutls_db_check_entry(3) - API function - Linux manual page
Check if database entry has expired. This function is to be used when you want to clear unnesessary session which occupy space in your backend. RETURNS Returns
avahi-daemon.conf(5) - avahi-daemon configuration file......
avahi-daemon.conf is the configuration file for avahi-daemon. SECTION [SERVER] host-name= Set the host name avahi-daemon tries to register on the LAN. If omited
curl_formget(3) - serialize a previously built multipart/for
curl_formget() is used to serialize data previously built/appended with curl_formadd(3). Accepts a void pointer as second argument named userp which will be pas