Home
last modified time | relevance | path

Searched refs:document (Results 1 – 25 of 150) sorted by relevance

123456

/PHP-5.5/ext/dom/tests/
H A DDOMCharacterData_data_basic_002.phpt11 $document = new DOMDocument;
12 $root = $document->createElement('root');
13 $document->appendChild($root);
15 $cdata = $document->createCDATASection('t');
17 print $document->saveXML()."\n";
20 print $document->saveXML()."\n";
H A DDOMNode_replaceChild_basic.phpt10 $document = new DOMDocument();
11 $document->loadXML('<?xml version="1.0" encoding="utf-8"?>
16 $parent = $document->getElementsByTagName('foo')->item(0);
17 $new_child = $document->createElement('qux');
19 echo "New child replaces old child:\n" . $document->saveXML();
23 $parent = $document->getElementsByTagName('spam')->item(0);
25 echo "Existing child is removed from tree:\n" . $document->saveXML();
28 $new_child = $document->getElementsByTagName('spam')->item(0);
29 $parent = $document->getElementsByTagName('foo')->item(0);
31 echo "Children are inserted in order:\n" . $document->saveXML();
H A DDOMDocumentFragment_appendXML_basic_001.phpt10 $document = new DOMDocument;
11 $root = $document->createElement('root');
12 $document->appendChild($root);
14 $fragment = $document->createDocumentFragment();
18 print $document->saveXML();
H A DDOMCharacterData_appendData_basic.phpt11 $document = new DOMDocument;
12 $root = $document->createElement('root');
13 $document->appendChild($root);
15 $cdata = $document->createElement('cdata');
18 $cdatanode = $document->createCDATASection('');
28 echo "\n" . $document->saveXML();
H A DDOMComment_appendData_basic_Sullivan.phpt11 $document = new DOMDocument;
12 $root = $document->createElement('root');
13 $document->appendChild($root);
15 $comment = $document->createElement('comment');
18 $commentnode = $document->createComment('');
28 echo "\n" . $document->saveXML();
H A DDOMText_appendData_basic.phpt11 $document = new DOMDocument;
12 $root = $document->createElement('root');
13 $document->appendChild($root);
15 $text = $document->createElement('text');
18 $textnode = $document->createTextNode('');
28 echo "\n" . $document->saveXML();
H A DDOMCharacterData_substringData_basic_001.phpt11 $document = new DOMDocument;
12 $root = $document->createElement('root');
13 $document->appendChild($root);
15 $cdata = $document->createCDATASection('testfest');
H A DDOMCharacterData_deleteData_basic_001.phpt10 $document = new DOMDocument;
11 $root = $document->createElement('root');
12 $document->appendChild($root);
14 $cdata = $document->createCDATASection('test');
H A DDOMCharacterData_appendData_error_001.phpt10 $document = new DOMDocument;
11 $root = $document->createElement('root');
12 $document->appendChild($root);
14 $cdata = $document->createCDATASection('test');
H A DDOMCharacterData_deleteData_error_001.phpt10 $document = new DOMDocument;
11 $root = $document->createElement('root');
12 $document->appendChild($root);
14 $cdata = $document->createCDATASection('test');
H A DDOMCharacterData_replaceData_error_001.phpt10 $document = new DOMDocument;
11 $root = $document->createElement('root');
12 $document->appendChild($root);
14 $cdata = $document->createCDATASection('test');
H A DDOMCharacterData_insertData_error_001.phpt10 $document = new DOMDocument;
11 $root = $document->createElement('root');
12 $document->appendChild($root);
14 $cdata = $document->createCDATASection('test');
H A DDOMDocumentFragment_appendXML_error_003.phpt10 $document = new DOMDocument;
11 $root = $document->createElement('root');
12 $document->appendChild($root);
14 $fragment = $document->createDocumentFragment();
H A DDOMAttr_ownerElement_error_001.phpt11 $document = new DOMDocument;
12 $root = $document->createElement('root');
13 $document->appendChild($root);
15 $document->removeChild($root);
H A DDOMCharacterData_deleteData_error_002.phpt10 $document = new DOMDocument;
11 $root = $document->createElement('root');
12 $document->appendChild($root);
14 $cdata = $document->createCDATASection('test');
H A DDOMDocument_preserveWhiteSpace_variations.phpt11 echo "Load document with preserveWhiteSpace on\n";
17 echo "\nLoad document with preserveWhiteSpace off\n";
25 Load document with preserveWhiteSpace on
38 Load document with preserveWhiteSpace off
H A DDOMDocument_loadHTMLfile_variation2.phpt2 Test DOMDocument::loadHTMLFile when a not-well formed document is loaded
4 Verifies the behavior if a not-well formed document is loaded
H A DDOMDocument_loadHTMLfile_variation1.phpt2 Test DOMDocument::loadHTMLFile when an empty document is loaded
4 Verifies that an warning message is showed if an empty document is loaded
H A DDOMDocument_load_error5.phpt4 This test verifies the method detects extra content at the end of the document
22 Warning: DOMDocument::load%r(XML){0,1}%r(): Extra content at the end of the document %s
H A DDOMDocument_loadXML_error5.phpt4 This test verifies the method detects extra content at the end of the document
22 Warning: DOMDocument::load%r(XML){0,1}%r(): Extra content at the end of the document %s
/PHP-5.5/ext/dom/
H A Ddocument.c533 if (obj->document) { in dom_document_strict_error_checking_read()
554 if (obj->document) { in dom_document_strict_error_checking_write()
576 if (obj->document) { in dom_document_format_output_read()
597 if (obj->document) { in dom_document_format_output_write()
618 if (obj->document) { in dom_document_validate_on_parse_read()
639 if (obj->document) { in dom_document_validate_on_parse_write()
660 if (obj->document) { in dom_document_resolve_externals_read()
681 if (obj->document) { in dom_document_resolve_externals_write()
702 if (obj->document) { in dom_document_preserve_whitespace_read()
723 if (obj->document) { in dom_document_preserve_whitespace_write()
[all …]
H A Dxml_common.h32 php_libxml_ref_obj *document; member
73 if (__intern->document != NULL) { \
74 if (!(__ptr = (__prtype)__intern->document->ptr)) { \
H A Dphp_dom.h73 php_libxml_ref_obj *document; member
98 dom_doc_propsptr dom_get_doc_props(php_libxml_ref_obj *document);
104 int dom_get_strict_error(php_libxml_ref_obj *document);
125 int dom_set_doc_classmap(php_libxml_ref_obj *document, zend_class_entry *basece, zend_class_entry *…
/PHP-5.5/ext/xsl/tests/
H A Dprepare.inc5 echo "Error while parsing the document\n";
11 echo "Error while parsing the document\n";
/PHP-5.5/ext/soap/tests/schema/
H A Dschema071.phpt2 SOAP XML Schema 71: SOAP 1.1 Array (document style)
17 test_schema($schema,'type="tns:testType"',array(123,123.5),'document','literal');

Completed in 59 milliseconds

123456