Searched refs:attr2 (Results 1 – 17 of 17) sorted by relevance
27 test('elem/@attr2');28 test('//@attr2');34 ===elem/@attr2===40 ["attr2"]=>48 ["attr2"]=>56 ["attr2"]=>61 ===//@attr2===67 ["attr2"]=>75 ["attr2"]=>83 ["attr2"]=>[all …]
59 ["attr2"]=>83 ["attr2"]=>118 ["attr2"]=>193 ["attr2"]=>
15 <elem11 attr2='second'>Bla bla 2.</elem11>
25 <elem11 attr2='second'>
26 <elem11 attr2='second'>
27 <elem11 attr2='second'>
27 $attr2 = $dom2->createAttributeNS("urn:a", "a:my-attribute");28 $attr2->value = "2";29 $dom1->documentElement->setAttributeNode($attr2);36 var_dump($attr2->prefix, $attr2->namespaceURI, $attr2->localName);
10 $doc->loadHTML('<span attr1="value1" attr2="value2"></span>');34 test($span, 'attr2');54 Attribute [true] name: attr262 Attribute ['attr2'] name: attr263 Attribute ['attr2'] value: value264 Attribute ['attr2'] isset: yes78 Attribute ['1'] name: attr2
31 test($list, 'attr2');45 list['attr2'] id attribute: /
21 foreach ($attrs2 as $attr2) {22 echo "--- Compare 1->2 {$attr1->name} and {$attr2->name} ---\n";23 var_dump($attr1->compareDocumentPosition($attr2) === DOMNode::DOCUMENT_POSITION_FOLLOWING);24 echo "--- Compare 2->1 {$attr1->name} and {$attr2->name} ---\n";25 var_dump($attr2->compareDocumentPosition($attr1) === DOMNode::DOCUMENT_POSITION_PRECEDING);
17 $res = $xw->startAttribute('attr2');34 <tag1 attr1="attr1_value" attr2="attr2_value">Test text for tag1<tag2/></tag1>
19 $xw->text('attr2 CDATA #implied');32 attr2 CDATA #implied>
22 xmlwriter_text($xw, 'attr2 CDATA #implied');37 attr2 CDATA #implied>
2453 xmlNodePtr attr2 = NULL; in dom_node_compare_document_position() local2464 attr2 = node2; in dom_node_compare_document_position()2465 node2 = attr2->parent; in dom_node_compare_document_position()2472 } else if (php_dom_is_equal_attr(attr, (const xmlAttr *) attr2)) { in dom_node_compare_document_position()2511 if ((node1_is_ancestor_of_node2 && attr1 == NULL) || (node1 == node2 && attr2 != NULL)) { in dom_node_compare_document_position()2516 if ((node2_is_ancestor_of_node1 && attr2 == NULL) || (node1 == node2 && attr1 != NULL)) { in dom_node_compare_document_position()2529 ZEND_ASSERT(attr2 != NULL); /* Would've been handled in step 8 otherwise */ in dom_node_compare_document_position()
Completed in 23 milliseconds