使用 dom_import_simplexml 转换为DomElement。 然后使用其容量来格式化输出。 1 2 3 4. $dom = dom_import_simplexml($simple_xml)->ownerDocument;
確定! 回上一頁