chregu          Mon Aug 19 10:15:06 2002 EDT

  Modified files:              
    /phpdoc/en/reference/domxml/functions       DomElement-get-attribute.xml 
                                                DomNode-attributes.xml 
                                                DomNode-first-child.xml 
                                                DomNode-last-child.xml 
                                                DomNode-parent-node.xml 
  Log:
  document the changes to get more w3c compliance
  
  
Index: phpdoc/en/reference/domxml/functions/DomElement-get-attribute.xml
diff -u phpdoc/en/reference/domxml/functions/DomElement-get-attribute.xml:1.2 
phpdoc/en/reference/domxml/functions/DomElement-get-attribute.xml:1.3
--- phpdoc/en/reference/domxml/functions/DomElement-get-attribute.xml:1.2       Wed 
Apr 17 02:37:38 2002
+++ phpdoc/en/reference/domxml/functions/DomElement-get-attribute.xml   Mon Aug 19 
+10:15:06 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
 <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.28 -->
   <refentry id='function.DomElement-get-attribute'>
    <refnamediv>
@@ -17,6 +17,10 @@
     <para>
      Returns the attribute with name <parameter>name</parameter> of the
      current node.
+    </para>
+     <para>
+     (PHP &gt;= 4.3 only) If no attribute with given name is found, an empty
+     string is returned.
     </para>
     <para>
      See also <function>DomElement_set_attribute</function>
Index: phpdoc/en/reference/domxml/functions/DomNode-attributes.xml
diff -u phpdoc/en/reference/domxml/functions/DomNode-attributes.xml:1.2 
phpdoc/en/reference/domxml/functions/DomNode-attributes.xml:1.3
--- phpdoc/en/reference/domxml/functions/DomNode-attributes.xml:1.2     Wed Apr 17 
02:37:38 2002
+++ phpdoc/en/reference/domxml/functions/DomNode-attributes.xml Mon Aug 19 10:15:06 
+2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
 <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 -->
   <refentry id='function.DomNode-attributes'>
    <refnamediv>
@@ -17,6 +17,9 @@
     <para>
      This function only returns an array of attributes if the node is of
      type XML_ELEMENT_NODE.
+    </para>
+    <para>
+     (PHP &gt;= 4.3 only) If no attributes are found, NULL is returned.
     </para>
    </refsect1>
   </refentry>
Index: phpdoc/en/reference/domxml/functions/DomNode-first-child.xml
diff -u phpdoc/en/reference/domxml/functions/DomNode-first-child.xml:1.2 
phpdoc/en/reference/domxml/functions/DomNode-first-child.xml:1.3
--- phpdoc/en/reference/domxml/functions/DomNode-first-child.xml:1.2    Wed Apr 17 
02:37:39 2002
+++ phpdoc/en/reference/domxml/functions/DomNode-first-child.xml        Mon Aug 19 
+10:15:06 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
 <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 -->
   <refentry id='function.DomNode-first-child'>
    <refnamediv>
@@ -16,6 +16,9 @@
     </methodsynopsis>
     <para>
      Returns the first child of the node.
+    </para>
+    <para>
+     (PHP &gt;= 4.3 only) If no first child is found, NULL is returned.
     </para>
     <para>
      See also <function>DomNode_last_child</function>,
Index: phpdoc/en/reference/domxml/functions/DomNode-last-child.xml
diff -u phpdoc/en/reference/domxml/functions/DomNode-last-child.xml:1.2 
phpdoc/en/reference/domxml/functions/DomNode-last-child.xml:1.3
--- phpdoc/en/reference/domxml/functions/DomNode-last-child.xml:1.2     Wed Apr 17 
02:37:39 2002
+++ phpdoc/en/reference/domxml/functions/DomNode-last-child.xml Mon Aug 19 10:15:06 
+2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
 <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 -->
   <refentry id='function.DomNode-last-child'>
    <refnamediv>
@@ -16,6 +16,9 @@
     </methodsynopsis>
     <para>
      Returns the last child of the node.
+    </para>
+    <para>
+     (PHP &gt;= 4.3 only) If no lasat child is found, NULL is returned.
     </para>
     <para>
      See also <function>DomNode_first_child</function>,
Index: phpdoc/en/reference/domxml/functions/DomNode-parent-node.xml
diff -u phpdoc/en/reference/domxml/functions/DomNode-parent-node.xml:1.2 
phpdoc/en/reference/domxml/functions/DomNode-parent-node.xml:1.3
--- phpdoc/en/reference/domxml/functions/DomNode-parent-node.xml:1.2    Wed Apr 17 
02:37:39 2002
+++ phpdoc/en/reference/domxml/functions/DomNode-parent-node.xml        Mon Aug 19 
+10:15:06 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
 <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 -->
   <refentry id='function.DomNode-parent-node'>
    <refnamediv>
@@ -16,6 +16,9 @@
     </methodsynopsis>
     <para>
      This function returns the parent node.
+    </para>
+    <para>
+     (PHP &gt;= 4.3 only) If no parent is found, NULL is returned.
     </para>
     <para>
      The following example will show two identical lists of children. 



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to