Lines Matching refs:dom
13 $dom = new DOMDocument;
14 $dom->loadXML($xmlstr);
16 if( !$dom )
22 echo "Empty Encoding Read: {$dom->encoding}\n";
24 $ret = $dom->encoding = 'NYPHP DOMinatrix';
27 $ret = $dom->encoding = 'ISO-8859-1';
29 echo "ISO-8859-1 Encoding Read: {$dom->encoding}\n";
31 $ret = $dom->encoding = 'UTF-8';
33 echo "UTF-8 Encoding Read: {$dom->encoding}\n";
35 $ret = $dom->encoding = 'UTF-16';
37 echo "UTF-16 Encoding Read: {$dom->encoding}\n";