©
本文档使用
php.cn手册 发布
(PHP 5, PHP 7)
Represents nodes with character data. No nodes directly correspond to this class, but other nodes do inherit from it.
$data
)$offset
, int $count
)$offset
, string $data
)$offset
, int $count
, string $data
)$offset
, int $count
)$newnode
)$exclusive
[, bool $with_comments
[, array $xpath
[, array $ns_prefixes
]]]] )$uri
[, bool $exclusive
[, bool $with_comments
[, array $xpath
[, array $ns_prefixes
]]]] )$deep
] )$newnode
[, DOMNode $refnode
] )$namespaceURI
)$node
)$feature
, string $version
)$prefix
)$namespaceURI
)$oldnode
)$newnode
, DOMNode $oldnode
)The contents of the node.
The length of the contents.
[#1] jesdisciple dot FOO at gmail dot BAR dot com [2010-07-08 04:35:10]
In case you're looking for the CDATA class to which nodes /do/ correspond, it's called DOMCdataSection (per my PHP installation) and isn't documented on php.net. Presumably, it doesn't add anything to this API.
See also: http://www.php.net/manual/en/domdocument.createcdatasection.php