Home
last modified time | relevance | path

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

123456

/PHP-8.0/ext/xsl/
H A Dphp_xsl.stub.php14 * @param DOMDocument|SimpleXMLElement $document
17 public function transformToDoc(object $document, ?string $returnClass = null) {} argument
20 * @param DOMDocument|SimpleXMLElement $document
23 public function transformToUri(object $document, string $uri) {} argument
26 * @param DOMDocument|SimpleXMLElement $document
29 public function transformToXml(object $document) {} argument
H A Dphp_xsl_arginfo.h9 ZEND_ARG_TYPE_INFO(0, document, IS_OBJECT, 0)
14 ZEND_ARG_TYPE_INFO(0, document, IS_OBJECT, 0)
19 ZEND_ARG_TYPE_INFO(0, document, IS_OBJECT, 0)
/PHP-8.0/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 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 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 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_deleteData_error_002.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 DDOMNamedNodeMap_count.phpt10 $document = new DomDocument();
11 $root = $document->createElement('root');
12 $document->appendChild($root);
17 $item = $document->createElement('item');
H A DDomNodeList_count.phpt10 $document = new DomDocument();
11 $root = $document->createElement('root');
12 $document->appendChild($root);
17 $item = $document->createElement('item');
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_error6.phpt7 // create dom document
26 Path to document must not contain any null bytes
/PHP-8.0/ext/dom/
H A Ddocument.c272 if (obj->document) { in dom_document_strict_error_checking_read()
284 if (obj->document) { in dom_document_strict_error_checking_write()
299 if (obj->document) { in dom_document_format_output_read()
310 if (obj->document) { in dom_document_format_output_write()
324 if (obj->document) { in dom_document_validate_on_parse_read()
335 if (obj->document) { in dom_document_validate_on_parse_write()
349 if (obj->document) { in dom_document_resolve_externals_read()
360 if (obj->document) { in dom_document_resolve_externals_write()
374 if (obj->document) { in dom_document_preserve_whitespace_read()
385 if (obj->document) { in dom_document_preserve_whitespace_write()
[all …]
H A Dparentnode.c127 xmlNode* dom_zvals_to_fragment(php_libxml_ref_obj *document, xmlNode *contextNode, zval *nodes, int… in dom_zvals_to_fragment() argument
137 if (document == NULL) { in dom_zvals_to_fragment()
154 stricterror = dom_get_strict_error(document); in dom_zvals_to_fragment()
174 newNodeObj->document = document; in dom_zvals_to_fragment()
241 xmlNode *fragment = dom_zvals_to_fragment(context->document, parentNode, nodes, nodesc); in dom_parent_node_append()
279 xmlNode *fragment = dom_zvals_to_fragment(context->document, parentNode, nodes, nodesc); in dom_parent_node_prepend()
307 int stricterror = dom_get_strict_error(context->document); in dom_parent_node_after()
315 fragment = dom_zvals_to_fragment(context->document, parentNode, nodes, nodesc); in dom_parent_node_after()
344 fragment = dom_zvals_to_fragment(context->document, parentNode, nodes, nodesc); in dom_parent_node_before()
377 stricterror = dom_get_strict_error(context->document); in dom_child_node_remove()
H A Dxml_common.h27 php_libxml_ref_obj *document; member
73 if (__intern->document != NULL) { \
74 if (!(__ptr = (__prtype)__intern->document->ptr)) { \
/PHP-8.0/ext/xsl/tests/
H A Dprepare.inc5 echo "Error while parsing the document\n";
11 echo "Error while parsing the document\n";
H A Dbug26384.phpt10 echo "Error while parsing the document\n";
16 echo "Error while parsing the document\n";
/PHP-8.0/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 73 milliseconds

123456