perldoc > XML::DOM::CharacterData

📛 NAME

XML::DOM::CharacterData – Common interface for Text, CDATASections and Comments

🚀 Quick Reference

Use CaseCommandDescription
Get/set character datagetData / setDataAccess or replace the entire character data of a node
Get data lengthgetLengthNumber of characters available
Extract substringsubstringData(offset, count)Extract a range of characters
Append dataappendData(str)Append string to end of data
Insert at offsetinsertData(offset, arg)Insert string at a given character offset
Delete rangedeleteData(offset, count)Remove a range of characters
Replace rangereplaceData(offset, count, arg)Replace a range of characters with a new string

📖 DESCRIPTION

XML::DOM::CharacterData extends XML::DOM::Node

The CharacterData interface extends Node with a set of attributes and methods for accessing character data in the DOM. For clarity this set is defined here rather than on each object that uses these attributes and methods. No DOM objects correspond directly to CharacterData, though Text, Comment and CDATASection do inherit the interface from it. All offsets in this interface start from 0.

🛠️ METHODS

XML::DOM::CharacterData
📛 NAME 🚀 Quick Reference 📖 DESCRIPTION
🛠️ METHODS

Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-17 17:30 @216.73.217.22
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!