Home
last modified time | relevance | path

Searched refs:node (Results 201 – 225 of 343) sorted by relevance

12345678910>>...14

/php-src/ext/dom/
H A Delement.c401 xmlAddChild(attr, node); in PHP_METHOD()
635 zval *id, *node; in dom_element_set_attribute_node_common() local
722 zval *node; in dom_element_remove_attribute_node() local
1005 node->ns = NULL; in dom_remove_eliminated_ns_single_element()
1019 xmlNodePtr base = node; in dom_remove_eliminated_ns()
1020 node = node->children; in dom_remove_eliminated_ns()
1021 while (node != NULL) { in dom_remove_eliminated_ns()
1027 if (node->children) { in dom_remove_eliminated_ns()
1028 node = node->children; in dom_remove_eliminated_ns()
1033 node = php_dom_next_in_tree_order(node, base); in dom_remove_eliminated_ns()
[all …]
H A Dxml_common.h61 if (UNEXPECTED(__intern->node == NULL)) { \
66 __ptr = (__prtype)__intern->node->node; \
H A Dhtml_document.c343 while (node != NULL) { in dom_search_child()
344 if (node->type == XML_ELEMENT_NODE && strcmp((const char *) node->name, searching_for) == 0) { in dom_search_child()
345 return node; in dom_search_child()
347 node = node->next; in dom_search_child()
355 if (node != NULL) { in dom_place_remove_element_and_hoist_children()
356 xmlUnlinkNode(node); in dom_place_remove_element_and_hoist_children()
362 child = node->children; in dom_place_remove_element_and_hoist_children()
365 xmlFreeNode(node); in dom_place_remove_element_and_hoist_children()
1311 const xmlNode *node; in PHP_METHOD() local
1322 if (node->doc != docp) { in PHP_METHOD()
[all …]
H A Dxml_serializer.h25 int dom_xml_serialize(xmlSaveCtxtPtr ctx, xmlOutputBufferPtr out, xmlNodePtr node, bool format);
/php-src/ext/libxml/
H A Dphp_libxml.h96 xmlNodePtr node; member
102 php_libxml_node_ptr *node; member
150 PHP_LIBXML_API int php_libxml_increment_node_ptr(php_libxml_node_object *object, xmlNodePtr node, v…
158 PHP_LIBXML_API void php_libxml_node_free_list(xmlNodePtr node);
159 PHP_LIBXML_API void php_libxml_node_free_resource(xmlNodePtr node);
/php-src/ext/dom/tests/
H A DDOMDocument_item_cache_invalidation.phpt2 DOMDocument node list item cache invalidation
44 $node = $elements->item($i);
45 print $node->getAttribute('i') . ' ';
47 $root->removeChild( $node );
H A Dnot_serializable.phpt9 $doc->loadXML('<root><node/></root>');
16 $node = $doc->documentElement;
18 serialize($node);
H A Dbug69846.phpt25 foreach ($dataNodes AS $node) {
26 $node = $datasetDom->importNode($node, true);
27 var_dump($node);
H A DDOMNode_replaceChild_basic.phpt2 Replacing a child node
14 // Replaces the child node oldChild with newChild in the list of children, and
15 // returns the oldChild node.
H A DDOMNode_insertBefore_error4.phpt6 This test checks the error message is raised when the refnode is a brand new node
24 // could be a brand new node
H A DDOMDocument_getElementsByTagName_liveness.phpt39 foreach ($doc->getElementsByTagName('e') as $node) {
40 print $node->getAttribute('i') . ' ';
42 $root->removeChild($node);
H A DDOMDocument_adoptNode.phpt33 echo "-- Appending the adopted node --\n";
40 echo "-- Adopt node to the original document --\n";
99 echo "-- Adopt a node and destroy the new document --\n";
129 -- Appending the adopted node --
135 -- Adopt node to the original document --
169 -- Adopt a node and destroy the new document --
/php-src/ext/simplexml/tests/
H A D028.phpt20 foreach($xml->children() as $node)
22 traverse_xml($node, $pad.' ');
H A Dbug12170.phpt11 <bar>text node</bar>
34 string(9) "text node"
H A Dbug52751.phpt11 <bar>text node</bar>
37 string(9) "text node"
/php-src/ext/dom/lexbor/lexbor/selectors/
H A Dselectors.h66 (*lxb_selectors_cb_f)(lxb_dom_node_t *node,
77 lxb_dom_node_t *node; member
213 lxb_selectors_match_node(lxb_selectors_t *selectors, lxb_dom_node_t *node,
/php-src/ext/xmlreader/tests/
H A D003-get-errors.phpt24 // Find the book node
40 // Ensure that node pointer has not changed position
47 // Ensure that node pointer has not changed position
54 // Ensure that node pointer has not changed position
H A D003-move-errors.phpt24 // Find the book node
40 // Ensure that node pointer has not changed position
47 // Ensure that node pointer has not changed position
54 // Oddly, node pointer moves back to the element in this case
/php-src/ext/dom/tests/modern/spec/
H A DNode_isDefaultNamespace.phpt18 function dump($node) {
20 var_dump($node->isDefaultNamespace('http://www.w3.org/2000/svg'));
22 var_dump($node->isDefaultNamespace('http://www.w3.org/1999/xhtml'));
24 var_dump($node->isDefaultNamespace('http://www.w3.org/1998/Math/MathML'));
26 var_dump($node->isDefaultNamespace(''));
H A Dbug55294.phpt18 $node = $bDOM->importNode($aDOM->getElementsByTagNameNS('http://example.com/A', 'B')->item(0), true…
19 $bDOM->appendChild($node);
/php-src/ext/dom/lexbor/lexbor/dom/interfaces/
H A Dattr.h35 lxb_dom_node_t node; member
113 data = lxb_dom_attr_data_by_id(attr->node.owner_document->attrs, in lxb_dom_attr_local_name()
114 attr->node.local_name); in lxb_dom_attr_local_name()
/php-src/ext/dom/lexbor/lexbor/html/interfaces/
H A Dtitle_element.c23 lxb_dom_node_t *node = lxb_dom_interface_node(element); in lxb_html_title_element_interface_create() local
25 node->owner_document = lxb_html_document_original_ref(document); in lxb_html_title_element_interface_create()
26 node->type = LXB_DOM_NODE_TYPE_ELEMENT; in lxb_html_title_element_interface_create()
/php-src/ext/dom/tests/modern/html/parser/
H A Dpredefined_namespaces.phpt32 foreach ($xpath->query("//*[name()='body']//*") as $node) {
33 echo $node->nodeName, " ", $node->namespaceURI ?? "(NONE)", "\n";
34 foreach ($node->attributes as $attribute) {
/php-src/ext/dom/lexbor/patches/
H A D0001-Expose-line-and-column-information-for-use-in-PHP.patch7 source/lexbor/dom/interfaces/node.h | 2 ++
17 diff --git a/source/lexbor/dom/interfaces/node.h b/source/lexbor/dom/interfaces/node.h
19 --- a/source/lexbor/dom/interfaces/node.h
20 +++ b/source/lexbor/dom/interfaces/node.h
126 + node->line = token->line;
130 lxb_dom_element_t *element = lxb_dom_interface_element(node);
148 + node->line = token->line;
/php-src/ext/dom/lexbor/lexbor/html/tree/insertion_mode/
H A Din_template.c91 lxb_dom_node_t *node; in lxb_html_tree_insertion_mode_in_template_end_of_file() local
93 node = lxb_html_tree_open_elements_find(tree, LXB_TAG_TEMPLATE, LXB_NS_HTML, in lxb_html_tree_insertion_mode_in_template_end_of_file()
95 if (node == NULL) { in lxb_html_tree_insertion_mode_in_template_end_of_file()

Completed in 38 milliseconds

12345678910>>...14