Home
last modified time | relevance | path

Searched refs:xml (Results 76 – 100 of 1113) sorted by relevance

12345678910>>...45

/PHP-8.2/ext/simplexml/tests/
H A Dgh12208.phpt8 $xml = "<root><a>1</a><a>2</a></root>";
9 $xml = simplexml_load_string($xml);
11 $a = $xml->a;
H A Dbug63575.phpt7 $xml = '<a><b></b></a>';
9 $o1 = new SimpleXMlElement($xml);
18 <?xml version="1.0"?>
21 <?xml version="1.0"?>
H A Dbug72971.phpt8 $xml = new SimpleXMLElement('<root xmlns:ns="ns"><foo>bar</foo><ns:foo>ns:bar</ns:foo><ns:foo2>ns:b…
9 var_dump(isset($xml->foo2));
10 unset($xml->foo);
11 var_dump($xml->children('ns'));
H A Dgh12192.phpt8 $xml = "<root><a>1</a><a>2</a></root>";
9 $xml = simplexml_load_string($xml);
11 $a = $xml->a;
H A D027.phpt7 $xml =<<<EOF
11 function traverse_xml($xml, $pad = '')
13 $name = $xml->getName();
15 foreach($xml->attributes() as $attr => $value)
19 echo ">" . trim($xml) . "\n";
20 foreach($xml->children() as $node)
28 $people = simplexml_load_string($xml);
H A D013.phpt8 $xml =<<<EOF
9 <?xml version="1.0" encoding="ISO-8859-1" ?>
13 $sxe = simplexml_load_string($xml);
H A Dbug41861.phpt8 $xml = simplexml_load_string('<root>
16 $name = $xml->getName();
17 $namespaces = $xml->getNamespaces(True);
19 $namespaces = $xml->getNamespaces(False);
24 foreach ($xml->children($ns) as $child)
/PHP-8.2/ext/xml/tests/
H A Dbug72793.phpt4 xml
8 class xml {
27 $xml_test = '<?xml version="1.0" encoding="utf-8"?><test></test>';
28 $xml_parser = new xml();
H A Dxml_set_notation_decl_handler_basic.phpt4 xml
40 $xml = <<<HERE
41 <?xml version="1.0"?>
46 <!ENTITY testUS SYSTEM "test_usdate.xml" NDATA USDATE>
47 <!ENTITY testAUS SYSTEM "test_ausdate.xml" NDATA AUSDATE>
54 $p1->parse($xml);
77 ...System ID=test_usdate.xml
83 ...System ID=test_ausdate.xml
/PHP-8.2/ext/dom/tests/
H A Dspecific_namespace_behaviour.phpt16 $dom2->loadXML('<xml><child/></xml>');
23 <?xml version="1.0"?>
24 <xml><child><wsse:Security xmlns:wsse="foo:bar" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
27 </wsse:Security></child></xml>
H A DDOMDocument_getElementsByTagName_liveness_write_properties.phpt8 $xml = '<root xmlns:ns1="foo" xmlns:ns2="bar"><ns1:a/></root>';
13 $doc->loadXML($xml);
23 $doc->loadXML($xml);
34 <?xml version="1.0"?>
38 <?xml version="1.0"?>
42 <?xml version="1.0"?>
H A Dgh12616_3.phpt49 <?xml version="1.0"?>
63 string(9) "xmlns:xml"
69 string(3) "xml"
71 string(3) "xml"
86 string(9) "xmlns:xml"
92 string(3) "xml"
94 string(3) "xml"
114 string(3) "xml"
116 string(3) "xml"
137 string(3) "xml"
[all …]
H A Dclone_attribute_namespace_01.phpt10 $dom->loadXML('<?xml version="1.0"?><container/>');
63 <?xml version="1.0"?>
65 <?xml version="1.0"?>
68 <?xml version="1.0"?>
70 <?xml version="1.0"?>
73 <?xml version="1.0"?>
75 <?xml version="1.0"?>
78 <?xml version="1.0"?>
80 <?xml version="1.0"?>
H A DDOMDocument_adoptNode.phpt85 <?xml version='1.0' encoding='utf-8' ?>
123 string(35) "<?xml version="1.0"?>
126 string(29) "<?xml version="1.0"?>
130 string(62) "<?xml version="1.0"?>
137 string(27) "<?xml version="1.0"?>
148 <?xml version="1.0"?>
151 <?xml version="1.0"?>
154 string(202) "<?xml version="1.0" encoding="utf-8"?>
166 string(43) "<?xml version="1.0"?>
170 <?xml version="1.0"?>
[all …]
H A DDOMChildNode_methods_without_parent.phpt9 <?xml version="1.0"?>
28 <?xml version="1.0"?>
34 <?xml version="1.0"?>
40 <?xml version="1.0"?>
H A DDOMDocument_documentURI_basic.phpt12 $xml = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
15 $dom->loadXML($xml);
26 $dom->documentURI = 'http://dom.example.org/example.xml';
38 string(34) "http://dom.example.org/example.xml"
H A DDOMElement_setAttributeNS_prefix_conflict.phpt10 $dom->loadXML('<?xml version="1.0"?><container xmlns:foo="http://php.net" foo:bar="yes"/>');
19 $dom->loadXML('<?xml version="1.0"?><container xmlns="http://php.net" bar="yes"/>');
27 <?xml version="1.0"?>
29 <?xml version="1.0"?>
32 <?xml version="1.0"?>
34 <?xml version="1.0"?>
/PHP-8.2/ext/libxml/tests/
H A Dbug51903.phpt15 . "Content-Type: text/xml; charset=ISO-8859-1\r\n\r\n"
16 . "<?xml version=\"1.0\"?>\n"
19 . "Content-Type: text/xml; charset=ISO-8859-1; foo=bar\r\n\r\n"
20 . "<?xml version=\"1.0\"?>\n"
23 . "Content-Type: text/xml; charset=\"ISO-8859-1\" ; foo=bar\r\n\r\n"
24 . "<?xml version=\"1.0\"?>\n"
/PHP-8.2/ext/xsl/tests/
H A Dxslt007.phpt11 $doc = $proc->transformToUri($dom, "file://".__DIR__."/out.xml");
12 print file_get_contents(__DIR__."/out.xml");
13 unlink(__DIR__."/out.xml");
18 <?xml version="1.0" encoding="iso-8859-1"?>
H A Dxslt011.phpt14 $xml = new DomDocument();
15 $xml->load(__DIR__."/xslt011.xml");
17 print $proc->transformToXml($xml);
44 <?xml version="1.0"?>
H A Dxslt_non_dom_node.phpt21 $xml = new DomDocument();
22 $xml->load(__DIR__."/xslt011.xml");
25 $proc->transformToXml($xml);
/PHP-8.2/ext/soap/tests/schema/
H A Dschema054.phpt5 xml
12 test_schema($schema,'type="apache:Map" xmlns:apache="http://xml.apache.org/xml-soap"',array('a'=>12…
16 <?xml version="1.0" encoding="UTF-8"?>
17 …ce" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://xml.apache.org/xml-soap" xmlns:…
H A Dschema055.phpt5 xml
14 <extension base="apache:Map" xmlns:apache="http://xml.apache.org/xml-soap">
23 <?xml version="1.0" encoding="UTF-8"?>
24 …ce" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://xml.apache.org/xml-soap" xmlns:…
/PHP-8.2/ext/standard/tests/strings/
H A Dbug70720.phpt2 Bug #70720 (strip_tags() doesn't handle "xml" correctly)
6 var_dump(strip_tags('<?php $xml->test(); ?> this is a test'));
7 var_dump(strip_tags('<?xml $xml->test(); ?> this is a test'));
/PHP-8.2/ext/soap/tests/soap12/
H A DT75.phpt8 <?xml version='1.0' ?>
14 <test:RelativeReference xml:base="http://example.org/today/"
15 xlink:href="new.xml"
26 <?xml version="1.0" encoding="UTF-8"?>
27 …s-tests"><env:Header><ns1:responseResolvedRef>http://example.org/today/new.xml</ns1:responseResolv…

Completed in 41 milliseconds

12345678910>>...45