note 6776 modified in ref.domxml by irc-html
| From: | irc-html@php.net | Date: | Sun, 30 Dec 2001 07:18:27 +0000 |
| Subject: | note 6776 modified in ref.domxml by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-23961@lists.php.net to get a copy of this message | ||
string domxml_attrname([int dir_handle]) - Returns list of attribute objects
DomNode domxml_node(string name) - Creates node
string domxml_lastchild([int node]) - Read directory entry from dir_handle
string domxml_parent([int node]) - Returns parent of node
string domxml_children([int node]) - Returns list of children nodes
string domxml_getattr([int node,] string attrname) - Returns value of given attribute
bool domxml_setattr([int node,] string attrname, string value) - Sets value of given attribute
array domxml_attributes([int node]) - Returns list of attributes of node
string domxml_rootnew([int doc]) - Returns list of children nodes
string domxml_root([int doc_handle]) - Returns root node of document
string domxml_dtd([int doc_handle]) - Returns DTD of document
string domxml_dumpmem([int doc_handle]) - Dumps document into string
DomDocument xmldoc(string xmldoc) - Creates dom object of xml document
DomDocument xmldocfile(string filename) - Creates dom object of xml document in file
string domxml_new_child([int node_handle,] string name, string content) - Adds child node to parent
node
string domxml_add_root([int doc_handle,] string name) - Adds root node to document
DomDocument domxml_new_xmldoc(string version) - Creates new xmldoc
string node_namespace([int node]) - Returns list of namespaces
string node_attributes([int node]) - Returns list of children nodes
string domxml_children([int node]) - Returns list of children nodes
DomNode xmltree(string xmldoc) - Create a tree of php objects from an xml document
class Dtd (domxmldtd)
properties:
extid
sysid
name
class DomAttribute (domxmlattr)
properties:
name
content
functions:
name()
class DomDocument (domxmldoc)
properties:
version
encoding
standalone
type
functions:
root()
children()
add_root()
dtd()
dumpmem()
class DomNode (domxmlnode)
properties:
type
name
content
functions:
lastchild()
children()
parent()
new_child()
getattr(string attributename)
setattr(string attributename)
attributes()
class DomNamespace (domxmlns)
--was--
<pre>string <b>domxml_attrname</b></pre>([int dir_handle]) - Returns list of
attribute objects<br>
<pre>DomNode <b>domxml_node</b></pre>(string name) - Creates node<br>
<pre>string <b>domxml_lastchild</b></pre>([int node]) - Read directory entry
from dir_handle<br>
<pre>string <b>domxml_parent</b></pre>([int node]) - Returns parent of
node<br>
<pre>string <b>domxml_children</b></pre>([int node]) - Returns list of
children nodes<br>
<pre>string <b>domxml_getattr</b></pre>([int node,] string attrname) -
Returns value of given attribute<br>
<pre>bool <b>domxml_setattr</b></pre>([int node,] string attrname, string
value) - Sets value of given attribute<br>
<pre>array <b>domxml_attributes</b></pre>([int node]) - Returns list of
attributes of node<br>
<pre>string <b>domxml_rootnew</b></pre>([int doc]) - Returns list of
children nodes<br>
<pre>string <b>domxml_root</b></pre>([int doc_handle]) - Returns root node
of document<br>
<pre>string <b>domxml_dtd</b></pre>([int doc_handle]) - Returns DTD of
document<br>
<pre>string <b>domxml_dumpmem</b></pre>([int doc_handle]) - Dumps document
into string<br>
<pre>DomDocument <b>xmldoc</b></pre>(string xmldoc) - Creates dom object of
xml document<br>
<pre>DomDocument <b>xmldocfile</b></pre>(string filename) - Creates dom
object of xml document in file<br>
<pre>string <b>domxml_new_child</b></pre>([int node_handle,] string name,
string content) - Adds child node to parent node<br>
<pre>string <b>domxml_add_root</b></pre>([int doc_handle,] string name) -
Adds root node to document<br>
<pre>DomDocument <b>domxml_new_xmldoc</b></pre>(string version) - Creates
new xmldoc<br>
<pre>string <b>node_namespace</b></pre>([int node]) - Returns list of
namespaces<br>
<pre>string <b>node_attributes</b></pre>([int node]) - Returns list of
children nodes<br>
<pre>string <b>domxml_children</b></pre>([int node]) - Returns list of
children nodes<br>
<pre>DomNode <b>xmltree</b></pre>(string xmldoc) - Create a tree of php
objects from an xml document<br>
<br>
<br>
class Dtd (domxmldtd)<br>
properties:<br>
extid<br>
sysid<br>
name<br>
<br>
class DomAttribute (domxmlattr)<br>
properties:<br>
name<br>
content<br>
functions:<br>
name()<br>
<br>
class DomDocument (domxmldoc)<br>
properties:<br>
version<br>
encoding<br>
standalone<br>
type<br>
functions:<br>
root()<br>
children()<br>
add_root()<br>
dtd()<br>
dumpmem()<br>
<br>
class DomNode (domxmlnode)<br>
properties:<br>
type<br>
name<br>
content<br>
functions:<br>
lastchild()<br>
children()<br>
parent()<br>
new_child()<br>
getattr(string attributename)<br>
setattr(string attributename)<br>
attributes()<br>
<br>
class DomNamespace (domxmlns)<br>
http://www.php.net/manual/en/ref.domxml.php