Searched refs:doc (Results 101 – 125 of 312) sorted by relevance
12345678910>>...13
19 $doc = new DOMDocument;20 $doc->resolveExternals = true;21 $doc->substituteEntities = true;24 $doc->loadXML( <<<XML25 <!DOCTYPE doc [28 <doc>&file;</doc>31 print $doc->documentElement->firstChild->nodeValue;
23 $doc = new DOMDocument();24 $doc->resolveExternals = true;25 $doc->substituteEntities = true;26 $doc->validateOnParse = false;27 $doc->loadXML($xml, 0);28 return $doc->saveXML();
8 $doc = new DOMDocument('1.0', 'utf-8');9 $root = $doc->createElementNS('http://purl.org/rss/1.0/','rdf:RDF');10 $doc->appendChild($root);13 echo $doc->saveXML()."\n";
8 $doc = new DOMDocument;10 $doc->load(__DIR__."/book.xml");13 $doc->schemaValidate("/path/with/\0/byte");18 var_dump($doc->schemaValidate(str_repeat(" ", PHP_MAXPATHLEN + 1)));
16 $doc = new DOMDocument();17 $doc->loadXML(20 try { $doc->encoding = $badStr; } catch (Exception $e) { echo "Exception\n"; }21 try { $doc->version = $badStr; } catch (Exception $e) { echo "Exception\n"; }22 try { $doc->documentURI = $badStr; } catch (Exception $e) { echo "Exception\n"; }23 $root = $doc->childNodes[0];43 echo $doc->saveXML();
13 $doc = new DOMDocument;14 $doc->load(__DIR__."/book.xml");17 var_dump($doc->strictErrorChecking);21 $attr = $doc->createAttribute(0);31 $doc->strictErrorChecking = false;34 var_dump($doc->strictErrorChecking);38 $attr = $doc->createAttribute(0);
17 $doc = new DOMDocument();19 $root = $doc->createElement('book');20 $doc->appendChild($root);22 $title = $doc->createElement('title');25 $text = $doc->createTextNode('This is the title');
12 $doc = new DOMDocument();13 $doc->loadXML($xml);15 $root = $doc->documentElement;20 $bar = $root->insertBefore($doc->createTextNode("bar"), $foo->nextSibling);
8 $doc = new DOMDocument();9 $doc->load($file);10 $nodes = $doc->getElementsByTagName('title');
4 $doc = new DOMDocument();8 $result = $doc->load(dirname(__FILE__) . getenv('XML_FILE'), $libxml_options);13 echo $doc->saveXML();
22 $doc = $dom->documentElement->firstChild;24 /* inclusive/without comments first child element of doc element is context. */25 echo $doc->C14N()."\n\n";28 echo $doc->c14N(TRUE)."\n\n";30 /* inclusive/with comments first child element of doc element is context. */31 echo $doc->C14N(FALSE, TRUE)."\n\n";33 /* exclusive/with comments first child element of doc element is context. */34 echo $doc->C14N(TRUE, TRUE)."\n\n";39 /* exclusive/without comments first child element of doc element is context.42 echo $doc->c14N(TRUE, FALSE,[all …]
4 $doc = new DOMDocument();7 $result = $doc->loadXML(file_get_contents(dirname(__FILE__) . getenv('XML_FILE')),13 echo $doc->saveXML();
11 $doc = new DOMDocument;12 $doc->load(__DIR__."/book.xml");14 var_dump($doc->implementation);
11 $doc = new DOMDocument;13 $doc->load(__DIR__."/book.xml");15 $result = $doc->schemaValidate(__DIR__."/book.xsd");
14 $doc = new DOMDocument();15 $doc->loadXML($xml);16 $doctype = $doc->doctype;32 $doc = new DOMDocument();33 $doc->loadXML($xml);34 $doctype = $doc->doctype;
9 $doc = new DOMDocument;10 $doc->loadXML( '<root><e i="1"/><e i="2"/><e i="3"/><e i="4"/><e i="5"/><e i="6"/><e i="7"/><e i="8…11 $list = $doc->getElementsByTagName('e');14 $s = simplexml_import_dom($doc->documentElement);
20 $doc = new DOMDocument();22 $root = $doc->createElement('book');23 $doc->appendChild($root);25 $title = $doc->createElement('title');28 $author = $doc->createElement('author');31 $text = $doc->createTextNode('This is the first title');38 $text = $doc->createTextNode('This is the second title');
11 $doc = new DOMDocument;13 $doc->load(__DIR__."/book.xml");17 $result = $doc->schemaValidateSource($xsd);
11 $doc = new DOMDocument();13 $result = $doc->loadHTMLFile("");18 $doc = new DOMDocument();20 $result = $doc->loadHTMLFile("text.html\0something");
7 $doc = new DOMDocument();8 $doc->loadHTML('<p id=x>foo</p>');9 $p = $doc->getElementById('x');
5 // enum cases should support doc comments, like class constants.8 /** Example doc comment */20 string(26) "/** Example doc comment */"22 string(26) "/** Example doc comment */"
10 * doc 116 /** doc 2 */36 * doc 141 string(12) "/** doc 2 */"
1898 DOMDocument $doc, argument1972 $doc,3479 $doc,3524 $doc,3558 $doc,3577 $doc,3586 $doc,3595 $doc,3618 $doc,3633 DOMDocument $doc, argument[all …]
9 $doc = simplexml_load_string('<root><exists>foo</exists></root>');10 if(!isset($doc->exists)) {13 if(isset($doc->doesnotexist)) {
Completed in 38 milliseconds