public function filter($node, $tagname)
    {
        $ret = array();
        while ($node = Dom::getNextSiblingElement($node)) {
            array_push($ret, $node);
        }
        return $ret;
    }
public function filter($node, $tagname)
    {
        $ret = array();
        while ($node = Dom::getNextSiblingElement($node)) {
            array_push($ret, $node);
        }
        return $ret;
    }
public function filter ( $ node , $ tagname ) { $ ret = array ( ) ; while ( $ node = Dom :: getNextSiblingElement ( $ node ) ) { array_push ( $ ret , $ node ) ; } return $ ret ; }
Gets the general sibling nodes.

@param DOMElement $node    DOMElement object
@param string     $tagname Tag name

@return array of DOMElement
Gets the general sibling nodes .