Home
last modified time | relevance | path

Searched refs:xmlstring (Results 1 – 1 of 1) sorted by relevance

/plugin/html2pdf/html2pdf/html2ps/
H A Dtreebuilder.class.php9 function build($xmlstring) { argument
17 return PHP4DOMTree::from_DOMDocument(domxml_open_mem($xmlstring));
33 $xmlstring = preg_replace("/&/","&",$xmlstring);
34 $xmlstring = preg_replace("/"/","\"",$xmlstring);
35 $xmlstring = preg_replace("/&lt;/","<",$xmlstring);
36 $xmlstring = preg_replace("/&gt;/",">",$xmlstring);
39 while (preg_match("@&#(\d+);@",$xmlstring, $matches)) {
40 $xmlstring = preg_replace("@&#".$matches[1].";@",code_to_utf8($matches[1]),$xmlstring);
43 while (preg_match("@&#x(\d+);@i",$xmlstring, $matches)) {
44 … $xmlstring = preg_replace("@&#x".$matches[1].";@i",code_to_utf8(hexdec($matches[1])),$xmlstring);
[all …]