You are here

function simple_html_dom_node::xmltext in simplehtmldom API 6

Same name and namespace in other branches
  1. 5.2 simplehtmldom/simple_html_dom.php \simple_html_dom_node::xmltext()
  2. 7 simplehtmldom/simple_html_dom.php \simple_html_dom_node::xmltext()
1 call to simple_html_dom_node::xmltext()
simple_html_dom_node::__get in simplehtmldom/simple_html_dom.php

File

simplehtmldom/simple_html_dom.php, line 221

Class

simple_html_dom_node

Code

function xmltext() {
  $ret = $this
    ->innertext();
  $ret = str_ireplace('<![CDATA[', '', $ret);
  $ret = str_replace(']]>', '', $ret);
  return $ret;
}