intro.domxml.html
来自「php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容」· HTML 代码 · 共 56 行
HTML
56 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Introduction</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="book.domxml.html">DOM XML</a></div> <div class="next" style="text-align: right; float: right;"><a href="domxml.setup.html">Installing/Configuring</a></div> <div class="up"><a href="book.domxml.html">DOM XML</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="intro.domxml" class="preface"> <h1 class="title">Introduction</h1> <p class="para"> The DOM XML extension has been overhauled in PHP 4.3.0 to better comply with the DOM standard. The extension still contains many old functions, but they should no longer be used. In particular, functions that are not object-oriented should be avoided. </p> <p class="para"> The extension allows you to operate on an XML document with the DOM API. It also provides a function <a href="function.domxml-xmltree.html" class="function">domxml_xmltree()</a> to turn the complete XML document into a tree of PHP objects. Currently, this tree should be considered read-only - you can modify it, but this would not make any sense since <a href="function.domdocument-dump-mem.html" class="function">DomDocument_dump_mem()</a> cannot be applied to it. Therefore, if you want to read an XML file and write a modified version, use <a href="function.domdocument-create-element.html" class="function">DomDocument_create_element()</a>, <a href="function.domdocument-create-text-node.html" class="function">DomDocument_create_text_node()</a>, <b>set_attribute()</b>, etc. and finally the <a href="function.domdocument-dump-mem.html" class="function">DomDocument_dump_mem()</a> function. </p> <blockquote><p><b class="note">Note</b>: This extension has been moved to the <a href="http://pecl.php.net/" class="link external">» PECL</a> repository and is no longer bundled with PHP as of PHP 5.0.0. <br /> </p></blockquote> <blockquote><p><b class="note">Note</b>: <span class="simpara"> This extension is no longer marked experimental. It will, however, never be released with PHP 5, and will only be distributed with PHP 4. If you need DOM XML support with PHP 5 you can use the <a href="book.dom.html" class="link">DOM</a> extension. This <i>domxml</i> extension is not compatible with the <a href="book.dom.html" class="link">DOM</a> extension. </span> </p></blockquote> </div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="book.domxml.html">DOM XML</a></div> <div class="next" style="text-align: right; float: right;"><a href="domxml.setup.html">Installing/Configuring</a></div> <div class="up"><a href="book.domxml.html">DOM XML</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?