[Phpxd-commits] CVS: phpXD/include/dom Document.php,1.7,1.8
Status: Beta
Brought to you by:
growbal
|
From: Thomas D. <th...@us...> - 2002-10-05 20:38:06
|
Update of /cvsroot/phpxd/phpXD/include/dom
In directory usw-pr-cvs1:/tmp/cvs-serv13066
Modified Files:
Document.php
Log Message:
Index: Document.php
===================================================================
RCS file: /cvsroot/phpxd/phpXD/include/dom/Document.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** Document.php 4 Mar 2002 16:58:42 -0000 1.7
--- Document.php 5 Oct 2002 20:38:03 -0000 1.8
***************
*** 303,307 ****
* Returns a Element node from the current document whose id attribute
* matches the given id.<br>
! * DOM-Level 2 -- NYI
*
* @public
--- 303,307 ----
* Returns a Element node from the current document whose id attribute
* matches the given id.<br>
! * DOM-Level 2
*
* @public
***************
*** 421,426 ****
}
! if ((isset($parent->nextSibling)) && ($element != null)) {
! return $this->getElementByIdHelp($id, $parent->nextSibling, $result);
}
return $element;
--- 421,426 ----
}
! if ((isset($parent->nextSibling)) && ($element == null)) {
! return $this->getElementByIdHelp($id, $dtd, $parent->nextSibling);
}
return $element;
|