|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-03-13 05:03 UTC] sniper@php.net
[2004-03-14 05:12 UTC] chregu@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 05:00:01 2025 UTC |
Description: ------------ This doesn't dump entery xml, just the first 3 nodes. Reproduce code: --------------- <? $xml_verificado = domxml_new_doc("1.0"); $xml_verificado_methodCall = $xml_verificado->create_element("methodCall"); $xml_verificado_methodCall = $xml_verificado->append_child($xml_verificado_methodCall); $xml_verificado_methodName = $xml_verificado->create_element("methodName"); $xml_verificado_methodName = $xml_verificado_methodCall->append_child($xml_verificado_methodName); $xml_verificado_methodName_method = $xml_verificado->create_text_node("sys.get_usuario"); $xml_verificado_methodName_method = $xml_verificado_methodName->append_child($xml_verificado_methodName_method); $xml_verificado_params = $xml_verificado->create_element("params"); $xml_verificado_params = $xml_verificado_methodCall->append_child($xml_verificado_params); $xml_verificado_params_param = $xml_verificado->create_element("param"); $xml_verificado_params_param = $xml_verificado_params->append_child($xml_verificado_params_param); $xml_verificado_params_param_string = $xml_verificado->create_element("string"); $xml_verificado_params_param_string = $xml_verificado_params_param->append_child($xml_verificado_params_param_string); echo $xml_verificado->html_dump_mem(); ?> Expected result: ---------------- <methodCall><methodName>sys.get_usuario</methodName><params><param><value><string></string></value></params></methodCall> Actual result: -------------- <methodCall><methodName>sys.get_usuario</methodName><params><param></params></methodCall>