From 12145533cf2855cfd390592cd1f6b521904c69d1 Mon Sep 17 00:00:00 2001 From: Christian Stocker Date: Mon, 19 Aug 2002 14:15:06 +0000 Subject: [PATCH] document the changes to get more w3c compliance git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@92606 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/domxml/functions/DomElement-get-attribute.xml | 6 +++++- reference/domxml/functions/DomNode-attributes.xml | 5 ++++- reference/domxml/functions/DomNode-first-child.xml | 5 ++++- reference/domxml/functions/DomNode-last-child.xml | 5 ++++- reference/domxml/functions/DomNode-parent-node.xml | 5 ++++- 5 files changed, 21 insertions(+), 5 deletions(-) diff --git a/reference/domxml/functions/DomElement-get-attribute.xml b/reference/domxml/functions/DomElement-get-attribute.xml index 75bf23f18a..f47539a92f 100644 --- a/reference/domxml/functions/DomElement-get-attribute.xml +++ b/reference/domxml/functions/DomElement-get-attribute.xml @@ -1,5 +1,5 @@ - + @@ -17,6 +17,10 @@ Returns the attribute with name name of the current node. + + + (PHP >= 4.3 only) If no attribute with given name is found, an empty + string is returned. See also DomElement_set_attribute diff --git a/reference/domxml/functions/DomNode-attributes.xml b/reference/domxml/functions/DomNode-attributes.xml index 4708b242dd..c7b7985006 100644 --- a/reference/domxml/functions/DomNode-attributes.xml +++ b/reference/domxml/functions/DomNode-attributes.xml @@ -1,5 +1,5 @@ - + @@ -18,6 +18,9 @@ This function only returns an array of attributes if the node is of type XML_ELEMENT_NODE. + + (PHP >= 4.3 only) If no attributes are found, NULL is returned. + diff --git a/reference/domxml/functions/DomNode-first-child.xml b/reference/domxml/functions/DomNode-first-child.xml index 6be0200c91..5247718d01 100644 --- a/reference/domxml/functions/DomNode-first-child.xml +++ b/reference/domxml/functions/DomNode-first-child.xml @@ -1,5 +1,5 @@ - + @@ -17,6 +17,9 @@ Returns the first child of the node. + + (PHP >= 4.3 only) If no first child is found, NULL is returned. + See also DomNode_last_child, DomNode_next_sibling, diff --git a/reference/domxml/functions/DomNode-last-child.xml b/reference/domxml/functions/DomNode-last-child.xml index accf840417..b97a251e0e 100644 --- a/reference/domxml/functions/DomNode-last-child.xml +++ b/reference/domxml/functions/DomNode-last-child.xml @@ -1,5 +1,5 @@ - + @@ -17,6 +17,9 @@ Returns the last child of the node. + + (PHP >= 4.3 only) If no lasat child is found, NULL is returned. + See also DomNode_first_child, DomNode_next_sibling, diff --git a/reference/domxml/functions/DomNode-parent-node.xml b/reference/domxml/functions/DomNode-parent-node.xml index 4647edf3cb..38ac288da4 100644 --- a/reference/domxml/functions/DomNode-parent-node.xml +++ b/reference/domxml/functions/DomNode-parent-node.xml @@ -1,5 +1,5 @@ - + @@ -17,6 +17,9 @@ This function returns the parent node. + + (PHP >= 4.3 only) If no parent is found, NULL is returned. + The following example will show two identical lists of children.