Home
last modified time | relevance | path

Searched refs:doc (Results 26 – 50 of 168) sorted by relevance

1234567

/PHP-5.5/ext/dom/tests/
H A DDOMDocument_schemaValidateSource_missingAttrs.phpt10 $doc = new DOMDocument;
12 $doc->load(dirname(__FILE__)."/book-attr.xml");
16 $doc->schemaValidateSource($xsd);
18 foreach ($doc->getElementsByTagName('book') as $book) {
H A DDOMDocument_schemaValidate_addAttrs.phpt10 $doc = new DOMDocument;
12 $doc->load(dirname(__FILE__)."/book-attr.xml");
14 $doc->schemaValidate(dirname(__FILE__)."/book.xsd", LIBXML_SCHEMA_CREATE);
16 foreach ($doc->getElementsByTagName('book') as $book) {
H A Ddomdocumentload_test_method_savexml.php4 $doc = new DOMDocument(); variable
8 $result = $doc->load(dirname(__FILE__) . getenv('XML_FILE'), $libxml_options);
13 echo $doc->saveXML();
H A Ddomdocumentloadxml_test_method_savexml.php4 $doc = new DOMDocument(); variable
7 $result = $doc->loadXML(file_get_contents(dirname(__FILE__) . getenv('XML_FILE')),
13 echo $doc->saveXML();
H A DDOMDocument_strictErrorChecking_variation.phpt13 $doc = new DOMDocument;
14 $doc->load(dirname(__FILE__)."/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);
H A Dbug49463.phpt8 $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";
H A DDOMNode_hasChildNodes_basic.phpt19 $doc = new DOMDocument();
21 $root = $doc->createElement('book');
22 $doc->appendChild($root);
24 $title = $doc->createElement('title');
27 $text = $doc->createTextNode('This is the title');
H A Dcanonicalization.phpt22 $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 …]
H A Dbug41374.phpt12 $doc = new DOMDocument();
13 $doc->loadXML($xml);
15 $root = $doc->documentElement;
20 $bar = $root->insertBefore($doc->createTextNode("bar"), $foo->nextSibling);
H A DDOMDocumentType_basic_001.phpt14 $doc = new DOMDocument();
15 $doc->loadXML($xml);
16 $doctype = $doc->doctype;
32 $doc = new DOMDocument();
33 $doc->loadXML($xml);
34 $doctype = $doc->doctype;
H A DDOMNode_normalize_basic.phpt22 $doc = new DOMDocument();
24 $root = $doc->createElement('book');
25 $doc->appendChild($root);
27 $title = $doc->createElement('title');
30 $author = $doc->createElement('author');
33 $text = $doc->createTextNode('This is the first title');
40 $text = $doc->createTextNode('This is the second title');
H A DDOMNode_getLineNo_basic.phpt10 $doc = new DOMDocument();
11 $doc->load($file);
12 $nodes = $doc->getElementsByTagName('title');
H A DDOMDocument_loadHTMLfile_error2.phpt13 $doc = new DOMDocument();
14 $result = $doc->loadHTMLFile("");
16 $doc = new DOMDocument();
17 $result = $doc->loadHTMLFile("text.html\0something");
H A DDOMDocument_implementationRead_basic.phpt11 $doc = new DOMDocument;
12 $doc->load(dirname(__FILE__)."/book.xml");
14 var_dump($doc->implementation);
H A DDOMDocument_schemaValidate_basic.phpt11 $doc = new DOMDocument;
13 $doc->load(dirname(__FILE__)."/book.xml");
15 $result = $doc->schemaValidate(dirname(__FILE__)."/book.xsd");
H A DDOMNode_getNodePath_basic.phpt10 $doc = new DOMDocument();
11 $doc->load($file);
12 $nodes = $doc->getElementsByTagName('title');
H A Dbug44648.phpt8 $doc = new DOMDocument();
9 $doc->loadXML('<root/>');
11 $root = $doc->documentElement;
38 echo $doc->saveXML($root);
H A DDOMDocument_schemaValidateSource_basic.phpt11 $doc = new DOMDocument;
13 $doc->load(dirname(__FILE__)."/book.xml");
17 $result = $doc->schemaValidateSource($xsd);
H A Dbug49490.phpt7 $doc = new DOMDocument();
8 $doc->loadXML('<prefix:root xmlns:prefix="urn:a" />');
10 $xp = new DOMXPath($doc);
H A DDOMDocumentType_systemId_basic_001.phpt13 $doc = new DOMDocument();
14 $doc->loadXML($xml);
15 $doctype = $doc->doctype;
H A DDOMDocument_relaxNGValidate_basic.phpt18 $doc = new DOMDocument();
19 $doc->loadXML($xml);
20 $result = $doc->relaxNGValidate($rng);
/PHP-5.5/ext/tidy/
H A Dtidy.c191 TidyDoc doc; member
558 TidyDoc doc; in php_tidy_quick_repair() local
577 doc = tidyCreate(); in php_tidy_quick_repair()
584 tidyRelease(doc); in php_tidy_quick_repair()
591 TIDY_SET_DEFAULT_CONFIG(doc); in php_tidy_quick_repair()
634 tidyRelease(doc); in php_tidy_quick_repair()
1179 TidyDoc doc; in php_tidy_output_handler() local
1184 doc = tidyCreate(); in php_tidy_output_handler()
1191 TIDY_SET_DEFAULT_CONFIG(doc); in php_tidy_output_handler()
1196 if (0 <= tidyParseBuffer(doc, &inbuf) && 0 <= tidyCleanAndRepair(doc)) { in php_tidy_output_handler()
[all …]
/PHP-5.5/ext/bcmath/libbcmath/
H A DMakefile.am3 SUBDIRS= src doc
9 cp $(srcdir)/doc/bcmath.1 $(distdir)/doc
/PHP-5.5/ext/simplexml/tests/
H A D021.phpt9 $doc = simplexml_load_string('<root><exists>foo</exists></root>');
10 if(!isset($doc->exists)) {
13 if(isset($doc->doesnotexist)) {
H A D020.phpt8 $doc = simplexml_load_string('<root><name attr="foo">bar</name></root>');
9 print $doc->name["attr"];
11 if ($doc->name["attr"] == "foo") {

Completed in 31 milliseconds

1234567